lkml.org 
[lkml]   [2007]   [Apr]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: coding style for long conditions (WAS: Re: [PATCH 25/90] ... blinky leds!!)
    David Brownell wrote:
    > Please change your coding style to conform to Documentation/CodingStyle.
    >
    > *** Only indent with tabs!! ***
    >
    > Every one of those examples violates that simple rule.
    >

    Spaces are used to indent all over the kernel; using a few spaces to pad
    out some indentation into the proper place is accepted practice,
    regardless of what CodingStyle says. The most important rule probably
    needs to be explicitly added:

    Break any of these rules sooner than say anything outright barbarous.[1]

    Though the first para of CodingStyle is very clear that it is a set of
    guidelines rather than strict rules.

    J

    1: http://www.k-1.com/Orwell/index.cgi/work/essays/language.html
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2007-04-06 23:41    [W:0.021 / U:94.600 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site