• R
    [PATCH] CodingStyle updates · b3fc9941
    Randy Dunlap 提交于
    Add some kernel coding style comments, mostly pulled from emails
    by Andrew Morton, Jesper Juhl, and Randy Dunlap.
    
    - add paragraph on switch/case indentation (with fixes)
    - add paragraph on multiple-assignments
    - add more on Braces
    - add section on Spaces; add typeof, alignof, & __attribute__ with sizeof;
      add more on postfix/prefix increment/decrement operators
    - add paragraph on function breaks in source files; add info on
      function prototype parameter names
    - add paragraph on EXPORT_SYMBOL placement
    - add section on /*-comment style, long-comment style, and data
      declarations and comments
    - correct some chapter number references that were missed when
      chapters were renumbered
    Signed-off-by: NRandy Dunlap <randy.dunlap@oracle.com>
    Acked-by: NJesper Juhl <jesper.juhl@gmail.com>
    Acked-by: NJan Engelhardt <jengelh@gmx.de>
    Signed-off-by: NAndrew Morton <akpm@osdl.org>
    Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
    b3fc9941
CodingStyle 24.9 KB