Josh Triplett <[email protected]> writes:
> Perhaps, but
> 1. Existing kernel style uses braces with single-statement
> do-while.
> 2. Linus prefers (or at least preferred in October of 2006) braces
> with single-statement do-while.
Fine with me, but it should IMHO be maintainer's call.
Things which a) are clearly better, and/or b) would require massive
reformatting when new maintainer steps in, should be documented
in CodingStyle and perhaps checked for by scripts and sparse.
Other things... sometimes there are multiple ways to do something
well, and humans aren't, and shouldn't be that deterministic.
--
Krzysztof Halasa
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]