• A
    update checkpatch.pl to version 0.09 · 22f2a2ef
    Andy Whitcroft 提交于
    This version brings a number of new checks, and a number of bug
    fixes.  Of note:
    
      - checks for spacing on round and square bracket combinations
      - loosening of the single statement brace checks, to allow
        them when they contain comments or where other blocks in a
        compound statement have them.
      - parks the multple declaration support
      - allows architecture defines in architecture specific headers
    
    Andy Whitcroft (21):
          Version: 0.09
          loosen single statement brace checks
          fix up multiple declaration to avoid function arguments
          add some function space parenthesis check exceptions
          handle EXPORT_'s with parentheses in their names
          clean up some warnings in multi-line macro bracketing support
          park the multiple declaration checks
          make block brace checks count comments as a statement
          __volatile__ and __extension__ are not functions
          allow architecture specific defined within architecture includes
          check spacing on square brackets
          check spacing on parentheses
          ensure we apply checks to the part before start comment
          check #ifdef conditional spacing
          handle __init_refok and __must_check
          add noinline to inline checks
          prevent email addresses from tripping spacing checks
          handle typed initialiser spacing
          handle line contination as end of line
          add bool to the type matcher
          refine EXPORT_SYMBOL checks to handle pointers
    Signed-off-by: NAndy Whitcroft <apw@shadowen.org>
    Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
    22f2a2ef
checkpatch.pl 30.4 KB