watchdog: hpwdt: Fix initialization message in hpwdt.c
authorMasanari Iida <standby24x7@gmail.com>
Wed, 22 Oct 2014 11:24:35 +0000 (20:24 +0900)
committerWim Van Sebroeck <wim@iguana.be>
Tue, 17 Feb 2015 20:32:10 +0000 (21:32 +0100)
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>
drivers/watchdog/hpwdt.c

index 75d2243b94f51ccc2c8b250b46b30d0866c6b3b6..ada3e44f99328424d11994ec03ebdd4886f4a919 100644 (file)
@@ -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;