lkml.org 
[lkml]   [2022]   [Aug]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] drivers/watchdog: fix repeated words in comments
On Tue, Aug 16, 2022 at 08:41:26PM +0800, Jilin Yuan wrote:
> Delete the redundant word 'we'.
> Delete the redundant word 'set'.
>
> Signed-off-by: Jilin Yuan <yuanjilin@cdjrlc.com>

I am going to ignore all those patches simply because the subject does
not mention the affected driver (but does mention the unnecessary
"drivers"). Really, and I have said that before, if you really have
to submit those cosmetic patches, at least do it right.

Guenter

> ---
> drivers/watchdog/wdt_pci.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/watchdog/wdt_pci.c b/drivers/watchdog/wdt_pci.c
> index d5e56b601351..a5fed7ea0243 100644
> --- a/drivers/watchdog/wdt_pci.c
> +++ b/drivers/watchdog/wdt_pci.c
> @@ -347,7 +347,7 @@ static irqreturn_t wdtpci_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 wdtpci_write(struct file *file, const char __user *buf,
> @@ -443,7 +443,7 @@ static long wdtpci_ioctl(struct file *file, unsigned int cmd,
> * 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 wdtpci_open(struct inode *inode, struct file *file)
> --
> 2.36.1
>

\
 
 \ /
  Last update: 2022-08-16 17:56    [W:0.227 / U:0.132 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site