Re: [PATCH] checkpatch: fix typo and remove duplicate word
From: Dwaipayan Ray
Date: Fri Nov 13 2020 - 08:49:17 EST
On Fri, Nov 13, 2020 at 7:04 PM Lukas Bulwahn <lukas.bulwahn@xxxxxxxxx> wrote:
>
> On Fri, Nov 13, 2020 at 2:11 PM Dwaipayan Ray <dwaipayanray1@xxxxxxxxx> wrote:
> >
> > Delete repeated word in scripts/checkpatch.pl.
> > "are are" -> "are"
> >
> > Fix typo "commments" -> "comments"
> >
> > Signed-off-by: Dwaipayan Ray <dwaipayanray1@xxxxxxxxx>
>
> Does this make checkpatch.pl pass checkpatch without any further warnings?
>
> Nice idea to check if checkpatch.pl still fulfills the checkpatch
> rules we created...
>
Yes, all the rules pass.
$ ./scripts/checkpatch.pl --codespell --strict -f scripts/checkpatch.pl
gives:
total: 0 errors, 0 warnings, 10 checks, 7233 lines checked
9 of those checks are false positives. There is another misspelled
word:
#5003: FILE: scripts/checkpatch.pl:5003:
+## # falsly report the parameters of functions.
I will add that and resend.
Thanks,
Dwaipayan.