Re: [BUG] checkpatch.pl with commit058806007450489bb8f457b275e5cb5c946320c1

From: Jeff Kirsher
Date: Wed Oct 24 2012 - 17:01:05 EST


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.

Attachment: signature.asc
Description: This is a digitally signed message part