Re: checkpatch warning of struct indentation

From: Andy Whitcroft
Date: Mon Jan 12 2009 - 13:51:48 EST


On Mon, Jan 12, 2009 at 12:57:23PM -0500, Steven Rostedt wrote:
>
> Hi,
>
> I'm now seeing the following warnings from checkpatch:
>
> #325: FILE: kernel/trace/trace_stat.c:21:
> + void *stat;
>
> ERROR: "foo *bar" should be "foo *bar"
> #334: FILE: kernel/trace/trace_stat.c:27:
> + struct tracer_stat *ts;
>
> ERROR: "foo *bar" should be "foo *bar"
> #337: FILE: kernel/trace/trace_stat.c:30:
> + struct dentry *file;

Yes those are bogus. They should be fixed in the latest push to akpm.
You can check that with this version:

http://www.kernel.org/pub/linux/kernel/people/apw/checkpatch/checkpatch.pl-testing

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