linux-watchdog.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] watchdog: fix a small number of "watchog" typos in comments
@ 2018-09-08 10:20 Robert P. J. Day
  2018-09-08 13:49 ` Guenter Roeck
  0 siblings, 1 reply; 2+ messages in thread
From: Robert P. J. Day @ 2018-09-08 10:20 UTC (permalink / raw)
  To: Linux watchdog mailing list; +Cc: wim, linux


All typos in comments, should not affect functionality.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>

---

diff --git a/drivers/watchdog/booke_wdt.c b/drivers/watchdog/booke_wdt.c
index 3ad1e44bef44..6e78a34c2370 100644
--- a/drivers/watchdog/booke_wdt.c
+++ b/drivers/watchdog/booke_wdt.c
@@ -25,7 +25,7 @@
 /* If the kernel parameter wdt=1, the watchdog will be enabled at boot.
  * Also, the wdt_period sets the watchdog timer period timeout.
  * For E500 cpus the wdt_period sets which bit changing from 0->1 will
- * trigger a watchog timeout. This watchdog timeout will occur 3 times, the
+ * trigger a watchdog timeout. This watchdog timeout will occur 3 times, the
  * first time nothing will happen, the second time a watchdog exception will
  * occur, and the final time the board will reset.
  */
diff --git a/drivers/watchdog/via_wdt.c b/drivers/watchdog/via_wdt.c
index b085ef1084ec..d56d0a927a1e 100644
--- a/drivers/watchdog/via_wdt.c
+++ b/drivers/watchdog/via_wdt.c
@@ -30,7 +30,7 @@
 #define VIA_WDT_CONF_MMIO	0x02	/* 1: enable watchdog MMIO */

 /*
- * The MMIO region contains the watchog control register and the
+ * The MMIO region contains the watchdog control register and the
  * hardware timer counter.
  */
 #define VIA_WDT_MMIO_LEN	8	/* MMIO region length in bytes */
@@ -82,7 +82,7 @@ static inline void wdt_reset(void)
 /*
  * Timer tick: the timer will make sure that the watchdog timer hardware
  * is being reset in time. The conditions to do this are:
- *  1) the watchog timer has been started and /dev/watchdog is open
+ *  1) the watchdog timer has been started and /dev/watchdog is open
  *     and there is still time left before userspace should send the
  *     next heartbeat/ping. (note: the internal heartbeat is much smaller
  *     then the external/userspace heartbeat).

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                  http://crashcourse.ca/dokuwiki

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] watchdog: fix a small number of "watchog" typos in comments
  2018-09-08 10:20 [PATCH] watchdog: fix a small number of "watchog" typos in comments Robert P. J. Day
@ 2018-09-08 13:49 ` Guenter Roeck
  0 siblings, 0 replies; 2+ messages in thread
From: Guenter Roeck @ 2018-09-08 13:49 UTC (permalink / raw)
  To: Robert P. J. Day, Linux watchdog mailing list; +Cc: wim

On 09/08/2018 03:20 AM, Robert P. J. Day wrote:
> 
> All typos in comments, should not affect functionality.
> 
> Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>

Reviewed-by: Guenter Roeck <linux@roeck-us.net>

> 
> ---
> 
> diff --git a/drivers/watchdog/booke_wdt.c b/drivers/watchdog/booke_wdt.c
> index 3ad1e44bef44..6e78a34c2370 100644
> --- a/drivers/watchdog/booke_wdt.c
> +++ b/drivers/watchdog/booke_wdt.c
> @@ -25,7 +25,7 @@
>   /* If the kernel parameter wdt=1, the watchdog will be enabled at boot.
>    * Also, the wdt_period sets the watchdog timer period timeout.
>    * For E500 cpus the wdt_period sets which bit changing from 0->1 will
> - * trigger a watchog timeout. This watchdog timeout will occur 3 times, the
> + * trigger a watchdog timeout. This watchdog timeout will occur 3 times, the
>    * first time nothing will happen, the second time a watchdog exception will
>    * occur, and the final time the board will reset.
>    */
> diff --git a/drivers/watchdog/via_wdt.c b/drivers/watchdog/via_wdt.c
> index b085ef1084ec..d56d0a927a1e 100644
> --- a/drivers/watchdog/via_wdt.c
> +++ b/drivers/watchdog/via_wdt.c
> @@ -30,7 +30,7 @@
>   #define VIA_WDT_CONF_MMIO	0x02	/* 1: enable watchdog MMIO */
> 
>   /*
> - * The MMIO region contains the watchog control register and the
> + * The MMIO region contains the watchdog control register and the
>    * hardware timer counter.
>    */
>   #define VIA_WDT_MMIO_LEN	8	/* MMIO region length in bytes */
> @@ -82,7 +82,7 @@ static inline void wdt_reset(void)
>   /*
>    * Timer tick: the timer will make sure that the watchdog timer hardware
>    * is being reset in time. The conditions to do this are:
> - *  1) the watchog timer has been started and /dev/watchdog is open
> + *  1) the watchdog timer has been started and /dev/watchdog is open
>    *     and there is still time left before userspace should send the
>    *     next heartbeat/ping. (note: the internal heartbeat is much smaller
>    *     then the external/userspace heartbeat).
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-09-08 18:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-08 10:20 [PATCH] watchdog: fix a small number of "watchog" typos in comments Robert P. J. Day
2018-09-08 13:49 ` Guenter Roeck

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).