Re: bug in checkpatch (on pointers to typedefs?)

From: Andy Whitcroft
Date: Thu Feb 14 2008 - 05:05:44 EST


On Wed, Feb 13, 2008 at 08:43:58PM +0100, Jan Engelhardt wrote:
>
> On Feb 10 2008 15:33, Marcin Slusarz wrote:
> >Checkpatch in current mainline outputs following errors:
> >
> >$ ./scripts/checkpatch.pl -q --file ./fs/udf/misc.c
> >ERROR: need consistent spacing around '*' (ctx:WxV)
> >#205: FILE: fs/udf/misc.c:205:
> >+ tag *tag_p;
> > ^
>
> I'd say "don't add any new typedefs" (and perhaps get rid of old ones).

It should be doing that at the site of the new typedef :)

-apw
--
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/