[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20220816124221.14910-1-yuanjilin@cdjrlc.com>
Date: Tue, 16 Aug 2022 20:42:21 +0800
From: Jilin Yuan <yuanjilin@...rlc.com>
To: wim@...ux-watchdog.org, linux@...ck-us.net
Cc: linux-watchdog@...r.kernel.org, linux-kernel@...r.kernel.org,
Jilin Yuan <yuanjilin@...rlc.com>
Subject: [PATCH] drivers/watchdog: fix repeated words in comments
Delete the redundant word 'we'.
Delete the redundant word 'set'.
Signed-off-by: Jilin Yuan <yuanjilin@...rlc.com>
---
drivers/watchdog/wdt.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/watchdog/wdt.c b/drivers/watchdog/wdt.c
index 183876156243..c358bebc42c2 100644
--- a/drivers/watchdog/wdt.c
+++ b/drivers/watchdog/wdt.c
@@ -311,7 +311,7 @@ static irqreturn_t wdt_interrupt(int irq, void *dev_id)
* @ppos: pointer to the position to write. No seeks allowed
*
* A write to a watchdog device is defined as a keepalive signal. Any
- * write of data will do, as we we don't define content meaning.
+ * write of data will do, as we don't define content meaning.
*/
static ssize_t wdt_write(struct file *file, const char __user *buf,
@@ -406,7 +406,7 @@ static long wdt_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
* open and on opening we load the counters. Counter zero is a 100Hz
* cascade, into counter 1 which downcounts to reboot. When the counter
* triggers counter 2 downcounts the length of the reset pulse which
- * set set to be as long as possible.
+ * set to be as long as possible.
*/
static int wdt_open(struct inode *inode, struct file *file)
--
2.36.1
Powered by blists - more mailing lists