[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAKXUXMwsvj6Y3dEq-eAOyCoJV3qhV7K9U_uRrtbg9u4TV0zyeA@mail.gmail.com>
Date: Fri, 13 Nov 2020 14:34:36 +0100
From: Lukas Bulwahn <lukas.bulwahn@...il.com>
To: Dwaipayan Ray <dwaipayanray1@...il.com>
Cc: Joe Perches <joe@...ches.com>,
linux-kernel-mentees@...ts.linuxfoundation.org,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] checkpatch: fix typo and remove duplicate word
On Fri, Nov 13, 2020 at 2:11 PM Dwaipayan Ray <dwaipayanray1@...il.com> wrote:
>
> Delete repeated word in scripts/checkpatch.pl.
> "are are" -> "are"
>
> Fix typo "commments" -> "comments"
>
> Signed-off-by: Dwaipayan Ray <dwaipayanray1@...il.com>
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...
Lukas
> ---
> scripts/checkpatch.pl | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
> index 2749f32dffe9..e7fd2d6279cf 100755
> --- a/scripts/checkpatch.pl
> +++ b/scripts/checkpatch.pl
> @@ -2841,7 +2841,7 @@ sub process {
>
>
> # stable@...r.kernel.org or stable@...nel.org shouldn't
> - # have an email name. In addition commments should strictly
> + # have an email name. In addition comments should strictly
> # begin with a #
> if ($email =~ /^.*stable\@(?:vger\.)?kernel\.org/i) {
> if (($comment ne "" && $comment !~ /^#.+/) ||
> @@ -7109,7 +7109,7 @@ sub process {
> exit(0);
> }
>
> - # This is not a patch, and we are are in 'no-patch' mode so
> + # This is not a patch, and we are in 'no-patch' mode so
> # just keep quiet.
> if (!$chk_patch && !$is_patch) {
> exit(0);
> --
> 2.27.0
>
Powered by blists - more mailing lists