Re: [PATCH] checkpatch: fix false positive for REPEATED_WORD warning

From: Joe Perches
Date: Wed Oct 21 2020 - 13:25:54 EST


On Wed, 2020-10-21 at 22:29 +0530, Dwaipayan Ray wrote:
> Can it be considered that the Hex numbers occur
> mostly in pairs or groups of 8, like "FF" or "FFFFFFFF"?
>
> I think it might reduce the negative side further.

Maybe. This already looks for pairs.

Combined with your previous patch,
https://lore.kernel.org/linux-kernel-mentees/20201017162732.152351-1-dwaipayanray1@xxxxxxxxx/
it seems OK to me.

Try something out and see if it makes a difference.