lkml.org 
[lkml]   [2009]   [Jan]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
DateMon, 12 Jan 2009 18:51:14 +0000
FromAndy Whitcroft <>
SubjectRe: checkpatch warning of struct indentation
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


\
 
 \ /
  Last update: 2009-01-12 19:55    [from the cache]
©2003-2010