[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <26647abf8cf14595a0dd22f10ec1c32e3dc2a8c0.camel@perches.com>
Date: Wed, 21 Oct 2020 08:28:23 -0700
From: Joe Perches <joe@...ches.com>
To: Aditya Srivastava <yashsri421@...il.com>
Cc: linux-kernel@...r.kernel.org, lukas.bulwahn@...il.com,
linux-kernel-mentees@...ts.linuxfoundation.org,
dwaipayanray1@...il.com
Subject: Re: [PATCH] checkpatch: fix false positive for REPEATED_WORD warning
On Wed, 2020-10-21 at 08:18 -0700, Joe Perches wrote:
> I might add that check to the line below where
> the repeated words are checked against long
[]
> diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
[]
> @@ -3062,6 +3062,7 @@ sub process {
>
> next if ($first ne $second);
> next if ($first eq 'long');
> + next if ($first =~ /^$Hex$/;
oops. with a close parenthesis added of course...
Powered by blists - more mailing lists