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

Lee Revell
2005-04-26T17:31:03Z

On Tue, 2005-04-26 at 19:20 +0200, Jesper Juhl wrote:
> I don't know what you do, but when I'm grep'ing the tree for some function
> I'm often looking for its return type, having that on the same line as the
> function name lets me grep for the function name and the grep output will
> contain the return type and function name nicely on the same line.
>

I do a lot of looking at large hunks of code I'm not familiar with and
trying to figure out how it works. It's quite handy to grep for
foo_func to see all usages, then ^foo_func to see the function. I guess
my preferred style favors people trying to grok code for the first time,
while the kernel style favors those who know it inside out.

Anyway, the coding style guidelines also state clearly that these points
are not up for debate on LKML so I'll stop now...

Lee