Re: [PATCH v2] checkpatch: fix false positives in REPEATED_WORD warning

From: Aditya
Date: Fri Oct 23 2020 - 02:38:34 EST


On 23/10/20 12:03 pm, Aditya wrote:
> However, though such cases haven't occurred over v6..v8.
>
> Actually, we could simplify it more on the basis of occurrences in
> v6..v8, for eg. if we check for /[0-9c-f][0-9a-f]+/ (instead of
> /[0-9a-f]{2,}/), it gives us desired result over v6..v8, but again
> we'll miss out cases such as:
>

Sorry, v5.6..v5.8