lkml.org 
[lkml]   [2013]   [Jul]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Checkpatch error on trace events macros
From
Date
On Tue, 2013-07-30 at 10:06 +0800, Li Zefan wrote:
> On 2013/7/30 9:58, Joe Perches wrote:
> > So what are these TRACE_<FOO> defines that need
> > excluding from the "complex values" check?
> >
> > Anything other than
> >
> > TRACE_SYSTEM
> > TRACE_INCLUDE_FILE
> > TRACE_INCLUDE_PATH
> >
> > ?
> >
> > samples/trace_events/trace-events-sample.h
> > only has those 3.
> >
>
> Try:
> # scripts/checkpatch.pl --file include/trace/events/*
>
> You'll see numerous errors. :)

Nope, you'll see numerous whitespace defects, but no
actual errors.

If you run with:

--ignore=spacing,long_line,code_indent,leading_space,printf_l,split_string,space_before_tab,trailing_whitespace,line_continuations

it's flawless.




\
 
 \ /
  Last update: 2013-07-30 04:41    [W:0.078 / U:0.504 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site