Re: [FOR REVIEW, PATCH 2/2] introduce "struct wait_opts" tosimplify do_wait() pathes
From: Ingo Molnar
Date: Mon May 11 2009 - 08:43:41 EST
* Andy Whitcroft <apw@xxxxxxxxxxxxx> wrote:
> On Sat, May 09, 2009 at 06:15:06PM +0200, Oleg Nesterov wrote:
> > (add Andy)
> >
> > On 05/07, Ingo Molnar wrote:
> > >
> > > * Oleg Nesterov <oleg@xxxxxxxxxx> wrote:
> > >
> > > > On 05/06, Ingo Molnar wrote:
> > > > >
> > > > > One small nit with the definition above: when using vertical spacing
> > > > > (which really looks nice) we tend to put the asterix to the type
> > > > > itself, not to the variable. I.e.:
> > > > >
> > > > > enum pid_type wtype;
> > > > > struct pid * wpid;
> > > > > int wflags;
>
> My expectation would normally be that this would be written more as:
>
> enum pid_type wtype;
> struct pid *wpid;
> int wflags;
Correct - i was confused there.
Ingo
--
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/