[lkml]   [2007]   [Jul]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] CodingStyle: proscribe do-while without braces.
    Josh Triplett <> 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
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2007-07-27 19:49    [W:0.017 / U:18.924 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site