Re: [BUG] checkpatch.pl with commit058806007450489bb8f457b275e5cb5c946320c1

From: Joe Perches
Date: Wed Oct 24 2012 - 17:26:33 EST


On Wed, 2012-10-24 at 13:51 -0700, Jeff Kirsher wrote:
> On Wed, 2012-10-24 at 07:12 -0700, Joe Perches wrote:
> > On Wed, 2012-10-24 at 04:00 -0700, Jeff Kirsher wrote:
> > > With the recent commit to checkpatch.pl:
> > >
> > > commit 058806007450489bb8f457b275e5cb5c946320c1
> > > Author: Joe Perches <joe@xxxxxxxxxxx>
> > > Date: Thu Oct 4 17:13:35 2012 -0700
> > >
> > > checkpatch: check networking specific block comment style
> > >
> > > We are seeing false positive warnings. Here is an example of the
> > > code the would generate a false warning:
> > >
> > > #define foo 0x0000 /* foo comment */
> > >
> > > checkpatch.pl generates a warnings that the */ should be on a separate
> > > line, which in this case is incorrect.
> >
> > Sorry 'bout that. I believe it's fixed by:
> > https://lkml.org/lkml/2012/10/14/267
> >
>
> Yes, I confirm that the patch in the link you provided solves the issue
> I was seeing. Thanks, has the patch been accepted yet? I see it is not
> in Dave's NET tree as of yet.

Andrew Morton generally picks up my checkpatch twiddles.
It's in -next as of next-20121024.

commit db64ad0e6f55197bc3794bef007a25f2db4760fb


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/