lkml.org 
[lkml]   [2008]   [Mar]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Subjectstyle of function definitions (Re: [patch] bkl2mtd: cleanup)
Date
From
Ingo Molnar @ Wed, 26 Mar 2008 12:10:21 +0100
>
> * Al Viro <viro@ZenIV.linux.org.uk> wrote:
>
[]
>> > -static int block2mtd_write(struct mtd_info *mtd, loff_t to, size_t len,
>> > +static int
>> > +block2mtd_write(struct mtd_info *mtd, loff_t to, size_t len,
>> > size_t *retlen, const u_char *buf)
>>
>> Again, why split it that way?
>
> these are really nuances, so unless you are interested in such nuances
> nowhere found in CodingStyle, stop reading here :-)

Nuances, or not, there are all kinds of stuff in Linux. Very small
journey from simple `grep` and trivial multi-line `sed` to a huge
discovery can be found here:

http://kernelnewbies.org/olecom#Function_definitions

No matter what coding style is, the winner is "linux-2.6/fs/xfs", and
i doubt anyone can fix that :)

Maybe meta-patching by `sed` scripts in `git`? Just kidding.
--
-o--=O`C
#oo'L O
<___=E M


\
 
 \ /
  Last update: 2008-03-30 06:13    [W:0.467 / U:0.108 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site