• A
    update checkpatch.pl to version 0.08 · f0a594c1
    Andy Whitcroft 提交于
    This version brings a number of new checks, and a number of bug
    fixes.  Of note:
    
      - warnings for multiple assignments per line
      - warnings for multiple declarations per line
      - checks for single statement blocks with braces
    
    This patch includes an update for feature-removal-schedule.txt to
    better target checks.
    
    Andy Whitcroft (12):
          Version: 0.08
          only apply printk checks where there is a string literal
          allow suppression of errors for when no patch is found
          warn about multiple assignments
          warn on declaration of multiple variables
          check for kfree() with needless null check
          check for single statement braced blocks
          check for aggregate initialisation on the next line
          handle the => operator
          check for spaces between function name and open parenthesis
          move to explicit Check: entries in feature-removal-schedule.txt
          handle pointer attributes
    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>
    f0a594c1
checkpatch.pl 28.9 KB