1. 09 6月, 2007 1 次提交
    • A
      update checkpatch.pl to version 0.03 · 4a0df2ef
      Andy Whitcroft 提交于
      This version brings a host of changes to cure false positives and
      bugs detected on patches submitted to lkml and -mm.  It also brings
      a number of new tests in response to reviews, of particular note:
      
        - catch use of volatile
        - allow deprecated functions to be listed in feature-removal-schedule.txt
        - warn about #ifdef's in c files
        - check that spinlock_t and struct mutex use is commented
        - report on architecture specific defines being used
        - report memory barriers without an associated comment
      
      Full changelog:
      
            catch use of volatile
            convert other quoted string checks to common routine
            alloc deprecated functions to be listed in feature-removal-schedule.txt
            split out the line length and indent for each line
            improve switch block handling
            handle GNU diff context lines with no leading space
            warn about #ifdef's in c files
            tidy up tests for signed-off-by using raw mode
            check that spinlock_t and struct mutex use is commented
            syntax checks for open brace placement may drop off the bottom of hunk
            report memory barriers without an associated comment
            when a sign off is present but ugly do not report it missing
            do not mistake bitfield definitions for indented labels
            report on architecture specific defines being used
            major update to the operator checks
            prevent switch/if/while etc matching foo_switch
            generify assignement in condition error message
            introduce an operator context marker
            Version: 0.03
      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>
      4a0df2ef
  2. 07 6月, 2007 1 次提交
  3. 01 6月, 2007 1 次提交