Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1419942 > unrolled thread

Re: possible new false positive in checkpatch

Started byTal Shorer <tal.shorer@gmail.com>
First post2016-06-11 09:40 +0200
Last post2016-06-11 09:40 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: possible new false positive in checkpatch Tal Shorer <tal.shorer@gmail.com> - 2016-06-11 09:40 +0200

#1419942 — Re: possible new false positive in checkpatch

FromTal Shorer <tal.shorer@gmail.com>
Date2016-06-11 09:40 +0200
SubjectRe: possible new false positive in checkpatch
Message-ID<rILGp-6w-1@gated-at.bofh.it>
On Tue, Sep 15, 2015 at 6:01 PM, Andy Whitcroft <apw@canonical.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
This still isn't fixed. Should I submit Andy's change myself? Feels
like plagiarize.

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web