2022-10-09 09:10:20

by Yi Jiangshan

[permalink] [raw]
Subject: [PATCH] watchdog: sp805_wdt: fix spelling typo in comment

From: Jiangshan Yi <[email protected]>

Fix spelling typo in comment.

Reported-by: k2ci <[email protected]>
Signed-off-by: Jiangshan Yi <[email protected]>
---
drivers/watchdog/sp805_wdt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/watchdog/sp805_wdt.c b/drivers/watchdog/sp805_wdt.c
index 78ba36689eec..2756ed54ca3d 100644
--- a/drivers/watchdog/sp805_wdt.c
+++ b/drivers/watchdog/sp805_wdt.c
@@ -88,7 +88,7 @@ static bool wdt_is_running(struct watchdog_device *wdd)
return (wdtcontrol & ENABLE_MASK) == ENABLE_MASK;
}

-/* This routine finds load value that will reset system in required timout */
+/* This routine finds load value that will reset system in required timeout */
static int wdt_setload(struct watchdog_device *wdd, unsigned int timeout)
{
struct sp805_wdt *wdt = watchdog_get_drvdata(wdd);
--
2.25.1


No virus found
Checked by Hillstone Network AntiVirus


2022-10-14 17:00:14

by Guenter Roeck

[permalink] [raw]
Subject: Re: [PATCH] watchdog: sp805_wdt: fix spelling typo in comment

On Sun, Oct 09, 2022 at 04:39:44PM +0800, Jiangshan Yi wrote:
> From: Jiangshan Yi <[email protected]>
>
> Fix spelling typo in comment.
>
> Reported-by: k2ci <[email protected]>
> Signed-off-by: Jiangshan Yi <[email protected]>

Reviewed-by: Guenter Roeck <[email protected]>

> ---
> drivers/watchdog/sp805_wdt.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/watchdog/sp805_wdt.c b/drivers/watchdog/sp805_wdt.c
> index 78ba36689eec..2756ed54ca3d 100644
> --- a/drivers/watchdog/sp805_wdt.c
> +++ b/drivers/watchdog/sp805_wdt.c
> @@ -88,7 +88,7 @@ static bool wdt_is_running(struct watchdog_device *wdd)
> return (wdtcontrol & ENABLE_MASK) == ENABLE_MASK;
> }
>
> -/* This routine finds load value that will reset system in required timout */
> +/* This routine finds load value that will reset system in required timeout */
> static int wdt_setload(struct watchdog_device *wdd, unsigned int timeout)
> {
> struct sp805_wdt *wdt = watchdog_get_drvdata(wdd);