diff options
author | Andy Whitcroft <apw@shadowen.org> | 2007-06-08 13:46:39 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-06-08 17:23:32 -0700 |
commit | 4a0df2ef4569ac57cb18cd97e34c0c4733e829d9 (patch) | |
tree | ebf6b23677189c1d8a8c200a0675cb566b000cba /fs/nfsd | |
parent | 85f6038f2170e3335dda09c3dfb0f83110e87019 (diff) | |
download | linux-4a0df2ef4569ac57cb18cd97e34c0c4733e829d9.tar.gz linux-4a0df2ef4569ac57cb18cd97e34c0c4733e829d9.tar.bz2 linux-4a0df2ef4569ac57cb18cd97e34c0c4733e829d9.zip |
update checkpatch.pl to version 0.03
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: Andy Whitcroft <apw@shadowen.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/nfsd')
0 files changed, 0 insertions, 0 deletions