[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAFDyS3MhYOJFuy1607Tt=mGsy4JsKTSrevFR08ZjbSvZY5s5_g@mail.gmail.com>
Date: Mon, 26 Oct 2015 18:43:44 +0200
From: Tal Shorer <tal.shorer@...il.com>
To: Andy Whitcroft <apw@...onical.com>
Cc: joe@...ches.com,
"<linux-kernel@...r.kernel.org>" <linux-kernel@...r.kernel.org>
Subject: Re: possible new false positive in checkpatch
ping?
Is there a plan to fix it? should I send your fix? (kinda plagiarism)
next release? (which would mean the unnecessary warnings will exist in 4.3 :<)
On Tue, Sep 15, 2015 at 6:01 PM, Andy Whitcroft <apw@...onical.com> wrote:
> On Tue, Sep 15, 2015 at 05:50:40PM +0300, Tal Shorer wrote:
>
>> > Yes it feels like that should be eliding them completely, and likely any
>> > following space as well, something like this:
>> >
>> > $s =~ s/$;+\s*//g;
>> > $c =~ s/$;+\s*//g;
>> >
>> Replacing the problematic lines with these fixes the issue.
>> > > Introduced in commit 9f5af480f4554aac12e002b6f5c2b04895857700:
>> > > checkpatch: improve SUSPECT_CODE_INDENT test
>> > > Commenting out these lines removes the warning.
>> > >
>> > > This pattern exists in many places around the kernel source.
>> > > Is this the intended behavior?
>> >
>> > Seems wrong to me.
>> >
>> > -apw
>>
>> Which git tree is checkpatch developed in? Linus's?
>
> Yeah in Linus' tree.
>
> -apw
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists