mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-01 22:54:01 +00:00
watchdog: hpwdt: Fix initialization message in hpwdt.c
allow_kdump was enabled as default since following commit.
commit a089361cf5
,
watchdog: hpwdt: Unregister NMI events on exit.
But the initialization message was not modified.
So it still shows
HP Watchdog Timer Driver: NMI decoding initialized,
allow kernel dump: ON (default = 0/OFF) <=
This "default = 0/OFF" message may confuse users.
Fix it as "default = 1/ON".
Signed-off-by: Masanari Iida <standby24x7@gmail.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
This commit is contained in:
parent
f83918fb5c
commit
b91b5be5ba
1 changed files with 1 additions and 1 deletions
|
@ -745,7 +745,7 @@ static int hpwdt_init_nmi_decoding(struct pci_dev *dev)
|
|||
|
||||
dev_info(&dev->dev,
|
||||
"HP Watchdog Timer Driver: NMI decoding initialized"
|
||||
", allow kernel dump: %s (default = 0/OFF)\n",
|
||||
", allow kernel dump: %s (default = 1/ON)\n",
|
||||
(allow_kdump == 0) ? "OFF" : "ON");
|
||||
return 0;
|
||||
|
||||
|
|
Loading…
Reference in a new issue