summaryrefslogtreecommitdiffstats
path: root/lib/crc32.c
diff options
context:
space:
mode:
authorAndy Whitcroft2012-01-11 00:10:15 +0100
committerLinus Torvalds2012-01-11 01:30:51 +0100
commitbfcb2cc798a14230d22b6dd999e2e680623de622 (patch)
treedfa486a04620bd02e58b3cdcb8b06ee5da3014ac /lib/crc32.c
parentcheckpatch: typeof may have more complex arguments (diff)
downloadkernel-qcow2-linux-bfcb2cc798a14230d22b6dd999e2e680623de622.tar.gz
kernel-qcow2-linux-bfcb2cc798a14230d22b6dd999e2e680623de622.tar.xz
kernel-qcow2-linux-bfcb2cc798a14230d22b6dd999e2e680623de622.zip
checkpatch: catch all occurences of type and cast spacing errors per line
Fix up type and cast spacing checks such that all occurences on a line are examined and reported. For example the line below has a valid cast and a bad type, but currently we check the cast first which is good and stop: u16* bar = (u16 *)baz; We will also only report one of the errors in this example: u16* bar = (u16*)bad; Move to iterating across all casts and all types, reporting any failure. [akpm@linux-foundation.org: coding-style fixes] Signed-off-by: Andy Whitcroft <apw@canonical.com> Cc: Joe Perches <joe@perches.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/crc32.c')
0 files changed, 0 insertions, 0 deletions