Re: [PATCH v3] checkpatch: fix false positives in REPEATED_WORD warning
From: Lukas Bulwahn
Date: Sun Oct 25 2020 - 02:11:55 EST
On Sat, 24 Oct 2020, Joe Perches wrote:
> On Sun, 2020-10-25 at 06:51 +0100, Lukas Bulwahn wrote:
> > We can identify a set of rules and clear automatic fixes that
> > maintainers can simply run this script over the patches they pick
> > up when they pick them up.
>
> checkpatch --fix-inplace does that now.
>
> But realistically, this is more an interactive bit that IMO
> should be a separate script on top of checkpatch.
>
Agree, and of course, we can work with some maintainers to find the best
way to combine that into their 'pick up and apply patches' scripts?
E.g., some might be using b4 and we simply hook into that in a friendly
way.
Further just documenting the potential options for maintainer in the
maintainers handbook might also increase adoption.