linux-doc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: I Viswanath <viswanathiyyappan@gmail.com>
To: wim@linux-watchdog.org
Cc: linux@roeck-us.net, corbet@lwn.net,
	linux-watchdog@vger.kernel.org, linux-doc@vger.kernel.org,
	skhan@linuxfoundation.org, linux-kernel-mentees@lists.linux.dev,
	I Viswanath <viswanathiyyappan@gmail.com>
Subject: [PATCH] watchdog: cpwd: Clarify wd*_timeout parameters
Date: Tue, 19 Aug 2025 08:21:10 +0530	[thread overview]
Message-ID: <20250819025159.6292-2-viswanathiyyappan@gmail.com> (raw)
In-Reply-To: <20250819025159.6292-1-viswanathiyyappan@gmail.com>

Reword "in 1/10secs" to "in units of 100 ms" in MODULE_PARAM_DESC
and the corresponding documentation to avoid misinterpretation of
the fractional notation.

Signed-off-by: I Viswanath <viswanathiyyappan@gmail.com>
---
 Documentation/watchdog/watchdog-parameters.rst | 6 +++---
 drivers/watchdog/cpwd.c                        | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/Documentation/watchdog/watchdog-parameters.rst b/Documentation/watchdog/watchdog-parameters.rst
index 0a0119edfa82..4257a59792de 100644
--- a/Documentation/watchdog/watchdog-parameters.rst
+++ b/Documentation/watchdog/watchdog-parameters.rst
@@ -122,11 +122,11 @@ coh901327_wdt:
 
 cpwd:
     wd0_timeout:
-	Default watchdog0 timeout in 1/10secs
+	Default watchdog0 timeout in units of 100 ms
     wd1_timeout:
-	Default watchdog1 timeout in 1/10secs
+	Default watchdog1 timeout in units of 100 ms
     wd2_timeout:
-	Default watchdog2 timeout in 1/10secs
+	Default watchdog2 timeout in units of 100 ms
 
 -------------------------------------------------
 
diff --git a/drivers/watchdog/cpwd.c b/drivers/watchdog/cpwd.c
index 13a4d47e68cd..c0a5c6f274e0 100644
--- a/drivers/watchdog/cpwd.c
+++ b/drivers/watchdog/cpwd.c
@@ -163,11 +163,11 @@ static int wd1_timeout;
 static int wd2_timeout;
 
 module_param(wd0_timeout, int, 0);
-MODULE_PARM_DESC(wd0_timeout, "Default watchdog0 timeout in 1/10secs");
+MODULE_PARM_DESC(wd0_timeout, "Default watchdog0 timeout in units of 100 ms");
 module_param(wd1_timeout, int, 0);
-MODULE_PARM_DESC(wd1_timeout, "Default watchdog1 timeout in 1/10secs");
+MODULE_PARM_DESC(wd1_timeout, "Default watchdog1 timeout in units of 100 ms");
 module_param(wd2_timeout, int, 0);
-MODULE_PARM_DESC(wd2_timeout, "Default watchdog2 timeout in 1/10secs");
+MODULE_PARM_DESC(wd2_timeout, "Default watchdog2 timeout in units of 100 ms");
 
 MODULE_AUTHOR("Eric Brower <ebrower@usa.net>");
 MODULE_DESCRIPTION("Hardware watchdog driver for Sun Microsystems CP1400/1500");
-- 
2.50.1


      reply	other threads:[~2025-08-19  2:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-19  2:51 watchdog: cpwd: Clarify wd*_timeout parameters I Viswanath
2025-08-19  2:51 ` I Viswanath [this message]

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=20250819025159.6292-2-viswanathiyyappan@gmail.com \
    --to=viswanathiyyappan@gmail.com \
    --cc=corbet@lwn.net \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel-mentees@lists.linux.dev \
    --cc=linux-watchdog@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=skhan@linuxfoundation.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).