[PATCH] watchdog: sp805_wdt: fix spelling typo in comment

Jiangshan Yi posted 1 patch 3 years, 5 months ago
drivers/watchdog/sp805_wdt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] watchdog: sp805_wdt: fix spelling typo in comment
Posted by Jiangshan Yi 3 years, 5 months ago
From: Jiangshan Yi <yijiangshan@kylinos.cn>

Fix spelling typo in comment.

Reported-by: k2ci <kernel-bot@kylinos.cn>
Signed-off-by: Jiangshan Yi <yijiangshan@kylinos.cn>
---
 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
Re: [PATCH] watchdog: sp805_wdt: fix spelling typo in comment
Posted by Guenter Roeck 3 years, 5 months ago
On Sun, Oct 09, 2022 at 04:39:44PM +0800, Jiangshan Yi wrote:
> From: Jiangshan Yi <yijiangshan@kylinos.cn>
> 
> Fix spelling typo in comment.
> 
> Reported-by: k2ci <kernel-bot@kylinos.cn>
> Signed-off-by: Jiangshan Yi <yijiangshan@kylinos.cn>

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

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