[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e8cae8c6-84b8-0f1c-d94f-3ef5804a31e0@infradead.org>
Date: Mon, 27 Jul 2020 17:03:03 -0700
From: Randy Dunlap <rdunlap@...radead.org>
To: Joe Perches <joe@...ches.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Andy Whitcroft <apw@...onical.com>
Cc: LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] checkpatch: Add test for repeated words
On 7/27/20 12:33 AM, Joe Perches wrote:
> Try to avoid adding repeated words either on the
> same line or consecutive comment lines in a block
>
> e.g.:
>
> duplicated word in comment block
>
> /*
> * this is a comment block where the last word of the previous
> * previous line is also the first word of the next line
> */
>
> and simple duplication
>
> /* test this this again */
>
> Inspired-by: Randy Dunlap (rdunlap@...radead.org>
> Signed-off-by: Joe Perches <joe@...ches.com>
Thanks for adding this check, Joe.
> ---
> scripts/checkpatch.pl | 38 ++++++++++++++++++++++++++++++++++++++
> 1 file changed, 38 insertions(+)
--
~Randy
Powered by blists - more mailing lists