lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <E1JfpB2-00036u-2G@flower>
Date:	Sun, 30 Mar 2008 06:29:52 +0200
From:	Oleg Verych <olecom@...wer.upol.cz>
To:	Ingo Molnar <mingo@...e.hu>
Cc:	Al Viro <viro@...IV.linux.org.uk>, Joern Engel <joern@...fs.org>,
	David Miller <davem@...emloft.net>, jirislaby@...il.com,
	joe@...ches.com, tglx@...utronix.de, linux-kernel@...r.kernel.org,
	Andy Whitcroft <apw@...dowen.org>
Subject: style of function definitions (Re: [patch] bkl2mtd: cleanup)

Ingo Molnar @ Wed, 26 Mar 2008 12:10:21 +0100
>
> * Al Viro <viro@...IV.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ