diff options
author | Andy Whitcroft <apw@shadowen.org> | 2008-07-23 21:29:10 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-24 10:47:26 -0700 |
commit | 1f65f947a6a875e1fe7867dc08e981c4101d435d (patch) | |
tree | 2dec76eed9d3dd6a48bc226fbe3a6d2fa813af9c /samples | |
parent | d2506586586c59f5db0e2ce00d5d31ccec6260b8 (diff) | |
download | linux-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