All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jerry Hoemann <jerry.hoemann@hpe.com>
To: wim@linux-watchdog.org, linux@roeck-us.net
Cc: linux-watchdog@vger.kernel.org, linux-kernel@vger.kernel.org,
	Jerry Hoemann <jerry.hoemann@hpe.com>
Subject: [PATCH v2 3/5] watchdog: hpwdt: Display module parameters.
Date: Wed,  8 Aug 2018 13:13:25 -0600	[thread overview]
Message-ID: <1533755607-71418-4-git-send-email-jerry.hoemann@hpe.com> (raw)
In-Reply-To: <1533755607-71418-1-git-send-email-jerry.hoemann@hpe.com>

Print module parameters when the driver is loaded.

Signed-off-by: Jerry Hoemann <jerry.hoemann@hpe.com>
---
 drivers/watchdog/hpwdt.c | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/drivers/watchdog/hpwdt.c b/drivers/watchdog/hpwdt.c
index bb41714..69a88b1 100644
--- a/drivers/watchdog/hpwdt.c
+++ b/drivers/watchdog/hpwdt.c
@@ -320,9 +320,12 @@ static int hpwdt_init_one(struct pci_dev *dev,
 		goto error_wd_register;
 	}
 
-	dev_info(&dev->dev, "HPE Watchdog Timer Driver: %s"
-			", timer margin: %d seconds (nowayout=%d).\n",
-			HPWDT_VERSION, hpwdt_dev.timeout, nowayout);
+	dev_info(&dev->dev, "HPE Watchdog Timer Driver: Version: %s\n",
+				HPWDT_VERSION);
+	dev_info(&dev->dev, "timeout: %d seconds (nowayout=%d)\n",
+				hpwdt_dev.timeout, nowayout);
+	dev_info(&dev->dev, "pretimeout: %s.\n",
+				pretimeout ? "on" : "off");
 
 	if (dev->subsystem_vendor == PCI_VENDOR_ID_HP_3PAR)
 		ilo5 = true;
-- 
1.8.3.1


  parent reply	other threads:[~2018-08-08 19:22 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-08 19:13 [PATCH v2 0/5] watchdog: hpwdt: Bug Fixes/Enhancement Jerry Hoemann
2018-08-08 19:13 ` [PATCH v2 1/5] watchdog: hpwdt: Initialize pretimeout from module parameter Jerry Hoemann
2018-08-14 13:30   ` Guenter Roeck
2018-08-08 19:13 ` [PATCH v2 2/5] watchdog: hpwdt: Claim NMI from iLO Jerry Hoemann
2018-08-14 13:30   ` Guenter Roeck
2018-08-08 19:13 ` Jerry Hoemann [this message]
2018-08-14 13:31   ` [PATCH v2 3/5] watchdog: hpwdt: Display module parameters Guenter Roeck
2018-08-08 19:13 ` [PATCH v2 4/5] watchdog: hpwdt: Module paramerter alias Jerry Hoemann
2018-08-14 13:31   ` Guenter Roeck
2018-08-08 19:13 ` [PATCH v2 5/5] watchdog: hpwdt: Update version number Jerry Hoemann
2018-08-14 13:32   ` Guenter Roeck
2018-09-06  6:03 ` [PATCH v2 0/5] watchdog: hpwdt: Bug Fixes/Enhancement Jerry Hoemann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1533755607-71418-4-git-send-email-jerry.hoemann@hpe.com \
    --to=jerry.hoemann@hpe.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-watchdog@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=wim@linux-watchdog.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.