diff options
author | Masanari Iida <standby24x7@gmail.com> | 2014-10-22 07:24:35 -0400 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2015-02-17 15:32:10 -0500 |
commit | b91b5be5ba92f2bc8018a900239cd07150639b5b (patch) | |
tree | 3c696ded31c7b0ed1133b2df0cf92c227fb09953 /drivers/watchdog/hpwdt.c | |
parent | f83918fb5cb0fd257fd05d588e0c0b3472ef18b0 (diff) |
watchdog: hpwdt: Fix initialization message in hpwdt.c
allow_kdump was enabled as default since following commit.
commit a089361cf5f1d6a5295aa5385238bd044998e1e9,
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>
Diffstat (limited to 'drivers/watchdog/hpwdt.c')
-rw-r--r-- | drivers/watchdog/hpwdt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/watchdog/hpwdt.c b/drivers/watchdog/hpwdt.c index 75d2243b94f5..ada3e44f9932 100644 --- a/drivers/watchdog/hpwdt.c +++ b/drivers/watchdog/hpwdt.c | |||
@@ -745,7 +745,7 @@ static int hpwdt_init_nmi_decoding(struct pci_dev *dev) | |||
745 | 745 | ||
746 | dev_info(&dev->dev, | 746 | dev_info(&dev->dev, |
747 | "HP Watchdog Timer Driver: NMI decoding initialized" | 747 | "HP Watchdog Timer Driver: NMI decoding initialized" |
748 | ", allow kernel dump: %s (default = 0/OFF)\n", | 748 | ", allow kernel dump: %s (default = 1/ON)\n", |
749 | (allow_kdump == 0) ? "OFF" : "ON"); | 749 | (allow_kdump == 0) ? "OFF" : "ON"); |
750 | return 0; | 750 | return 0; |
751 | 751 | ||