* [PATCH] watchdog: Fix comment typo
@ 2022-07-16 4:18 Jason Wang
2022-07-22 15:10 ` Guenter Roeck
0 siblings, 1 reply; 2+ messages in thread
From: Jason Wang @ 2022-07-16 4:18 UTC (permalink / raw)
To: linux; +Cc: wim, linux-watchdog, linux-kernel, Jason Wang
The double `and' is duplicated in the comment, remove one.
Signed-off-by: Jason Wang <wangborong@cdjrlc.com>
---
drivers/watchdog/booke_wdt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/watchdog/booke_wdt.c b/drivers/watchdog/booke_wdt.c
index 5e4dc1a0f2c6..75da5cd02615 100644
--- a/drivers/watchdog/booke_wdt.c
+++ b/drivers/watchdog/booke_wdt.c
@@ -74,7 +74,7 @@ static unsigned long long period_to_sec(unsigned int period)
/*
* This procedure will find the highest period which will give a timeout
* greater than the one required. e.g. for a bus speed of 66666666 and
- * and a parameter of 2 secs, then this procedure will return a value of 38.
+ * a parameter of 2 secs, then this procedure will return a value of 38.
*/
static unsigned int sec_to_period(unsigned int secs)
{
--
2.35.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] watchdog: Fix comment typo
2022-07-16 4:18 [PATCH] watchdog: Fix comment typo Jason Wang
@ 2022-07-22 15:10 ` Guenter Roeck
0 siblings, 0 replies; 2+ messages in thread
From: Guenter Roeck @ 2022-07-22 15:10 UTC (permalink / raw)
To: Jason Wang; +Cc: wim, linux-watchdog, linux-kernel
On 7/15/22 21:18, Jason Wang wrote:
> The double `and' is duplicated in the comment, remove one.
>
> Signed-off-by: Jason Wang <wangborong@cdjrlc.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
> ---
> drivers/watchdog/booke_wdt.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/watchdog/booke_wdt.c b/drivers/watchdog/booke_wdt.c
> index 5e4dc1a0f2c6..75da5cd02615 100644
> --- a/drivers/watchdog/booke_wdt.c
> +++ b/drivers/watchdog/booke_wdt.c
> @@ -74,7 +74,7 @@ static unsigned long long period_to_sec(unsigned int period)
> /*
> * This procedure will find the highest period which will give a timeout
> * greater than the one required. e.g. for a bus speed of 66666666 and
> - * and a parameter of 2 secs, then this procedure will return a value of 38.
> + * a parameter of 2 secs, then this procedure will return a value of 38.
> */
> static unsigned int sec_to_period(unsigned int secs)
> {
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-07-22 15:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-16 4:18 [PATCH] watchdog: Fix comment typo Jason Wang
2022-07-22 15:10 ` 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).