Skip to content
Snippets Groups Projects
  1. Feb 09, 2008
  2. Feb 08, 2008
    • Andy Whitcroft's avatar
      update checkpatch.pl to version 0.14 · 13214adf
      Andy Whitcroft authored
      
      This version brings the remainder of the queued fixes.  A number of fixes
      for items missed reported by Andrew Morton and others.  Also a handful
      of new checks and fixes for false positives.  Of note:
      
       - new warning associated with --file to try and avoid cleanup only patches,
       - corrected handling of completly empty files,
       - corrected report handling with multiple files,
       - handling of possible types in the face of multiple declarations,
       - detection of unnessary braces on complex if statements (where present), and
       - all new comment spacing handling.
      
      Andi Kleen (1):
            Introduce a warning when --file mode is used
      
      Andy Whitcroft (14):
            Version: 0.14
            clean up some space violations in checkpatch.pl
            a completly empty file should not provoke a whinge
            reset report lines buffers between files
            unary ++/-- may abutt close braces
            __typeof__ is also unary
            comments: revamp comment handling
            add --summary-file option adding filename to summary line
            trailing backslashes are not trailing statements
            handle operators passed as parameters such as to ASSERTCMP
            possible types -- enhance debugging
            check for boolean operations with constants
            possible types: handle multiple declarations
            detect and report if statements where all branches are single statements
      
      Arjan van de Ven (1):
            quiet option should not print the summary on no errors
      
      Bartlomiej Zolnierkiewicz (1):
            warn about using __FUNCTION__
      
      Timur Tabi (1):
            loosen spacing checks for __asm__
      
      Signed-off-by: default avatarAndy Whitcroft <apw@shadowen.org>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      13214adf
    • Andy Whitcroft's avatar
      update checkpatch.pl to version 0.13 · c2fdda0d
      Andy Whitcroft authored
      
      This version brings a large number of fixes which have built up over
      the Christmas period.  Mostly these are fixes for false positives, both
      through improvments to unary checks and possible type detection.  It
      also brings new checks for while location and CVS keywords.  Of note:
      
        - a number of fixes to unary detection
        - detection of a number of new forms of types to improve type matching
        - better inline handling
        - recognision of '%' as an operator
      
      Andy Whitcroft (28):
            Version: 0.13
            unary detection: maintain bracket state across lines
            move to pre-sanitising the entire file
            the text of a #error statement should be treated like it is in quotes
            line sanitisation needs to target double backslash correctly
            tighten comment guestimation for lines starting ' * '
            debug: add a debug framework
            prevent unclosed single quotes from spreading
            add % as an operator
            the text of a #warning statement should be treated like it is in quotes
            possible matching applies in typedefs
            single statement block checks must not trigger when two or more statements
            possible types: local variables may also be const
            treat inline as a type attribute to even when out of place
            possible types: sparse annotations are valid indicators
            possible types: beef up the possible type testing
            check for hanging while statements on the wrong line
            utf8 checks need to occur against the raw lines
            function brace checks should use any whitespece matches
            comments should take up space in the line when sanitised
            remove debugging from if assignment checks
            possible types -- ensure we detect all pointer casts
            fix tests for function spacing in the presence of #define
            clean up the UTF-8 error message to be clearer
            test-lib: invert the status report, output success counts
            detect and report CVS keywords
            tests: break out tests
            Add $Id$ to the CVS keyword checks
      
      Benny Halevy (1):
            checkpatch.pl: recognize the #elif preprocessor directive
      
      Geert Uytterhoeven (1):
            print the filenames of patches where available
      
      Mauro Carvalho Chehab (1):
            Fix missing \n in checkpatch.pl
      
      Signed-off-by: default avatarAndy Whitcroft <apw@shadowen.org>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      c2fdda0d
  3. Feb 07, 2008
  4. Feb 06, 2008
  5. Feb 03, 2008
  6. Feb 01, 2008
    • Greg Kroah-Hartman's avatar
      USB: handle idVendor of 0x0000 · de6f92b9
      Greg Kroah-Hartman authored
      
      Some crazy devices in the wild have a vendor id of 0x0000.  If we try to
      add a module alias with this id, we just can't do it due to a check in
      the file2alias.c file.  Change the test to verify that both the vendor
      and product ids are 0x0000 to show a real "blank" module alias.
      
      Note, the module-init-tools package also needs to be changed to properly
      generate the depmod tables.
      
      Cc: Janusz <janumix@poczta.fm>
      Cc: stable <stable@kernel.org>
      Cc: Jon Masters <jcm@redhat.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      de6f92b9
  7. Jan 28, 2008
Loading