Re: [PATCH][RFC] Linux VM hooks for advanced RDMA NICs

From: Jakob Oestergaard
Date: Thu Apr 28 2005 - 06:35:48 EST


On Tue, Apr 26, 2005 at 01:13:04PM -0400, Lee Revell wrote:
> On Tue, 2005-04-26 at 18:57 +0200, Jesper Juhl wrote:
> > >
> > > +static inline void
> > > +ioproc_release(struct mm_struct *mm)
> > > +{
> >
> > Return types on same line as function name makes grep'ing a lot
> > easier/nicer.
> >
> > Here's the example from Documentation/CodingStyle :
> >
> > int function(int x)
> > {
>
> How so? I never understood the reasons. This makes it easier to grep
> for everything that returns int. But you make the common case (what
> file is function() defined in?) harder.

etags/ctags end of story :)

--

/ jakob

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