Re: [PATCH 2/2] tracing/events: Add kexec tracepoints

From: Daniel Walker
Date: Wed Sep 09 2009 - 10:11:55 EST


On Wed, 2009-09-09 at 07:46 -0400, Steven Rostedt wrote:
> On Tue, 2009-09-08 at 21:59 -0700, Daniel Walker wrote:
> > On Wed, 2009-09-09 at 09:26 +0800, Li Zefan wrote:
> > > Daniel Walker wrote:
> > > > On Wed, 2009-09-09 at 09:15 +0800, Li Zefan wrote:
> > > >> + TP_STRUCT__entry(
> > > >> + __string( msg, msg )
> > > >> + ),
> > > >
> > > > Why the funny spacing here?
> > > >
> > >
> > > To make the code better-looking.
> > >
> > > This is the coding-style we use for the code in
> > > include/trace/events/*.
> >
> > It's part of Linux right? We already have a coding style ..
>
> It's a special macro. What are you now, part of the style police?

I'm just like everyone else, someone who asks questions and makes
comments .. By using a different style than what the rest of Linux uses
your putting yourself at a disadvantage since you can't easily use
checkpatch on that code (even the stuff that is compliant) ..

Not to mention people might start sending you clean ups that you maybe
won't accept. You could always modify checkpatch to recognize your
style.

Daniel

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