summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorAndy Whitcroft <apw@shadowen.org>2008-07-23 21:29:10 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2008-07-24 10:47:26 -0700
commit1f65f947a6a875e1fe7867dc08e981c4101d435d (patch)
tree2dec76eed9d3dd6a48bc226fbe3a6d2fa813af9c /samples
parentd2506586586c59f5db0e2ce00d5d31ccec6260b8 (diff)
downloadlinux-1f65f947a6a875e1fe7867dc08e981c4101d435d.tar.bz2
checkpatch: add checks for question mark and colon spacing
Add checks for the question mark colon operator spacing, and also check the other uses of colon. Colon means a number of things: - it introduces the else part of the ?: operator, - it terminates a goto label, - it terminates the case value, - it separates the identifier from the bit size on bit fields, and - it is used to introduce option types in asm(). 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 'samples')
0 files changed, 0 insertions, 0 deletions