Re: [PATCH] checkpatch: Add test for repeated words

From: Joe Perches
Date: Mon Jul 27 2020 - 21:25:59 EST


On Mon, 2020-07-27 at 17:03 -0700, Randy Dunlap wrote:
> 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@xxxxxxxxxxxxx>
> > Signed-off-by: Joe Perches <joe@xxxxxxxxxxx>
>
> Thanks for adding this check, Joe.

No charge.

It seemed simple enough and you are/were doing
an awful lot of work to fix these.

Thanks for that too.

Joe