diff options
author | Andy Whitcroft <apw@shadowen.org> | 2008-07-24 00:29:10 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-24 13:47:26 -0400 |
commit | 1f65f947a6a875e1fe7867dc08e981c4101d435d (patch) | |
tree | 2dec76eed9d3dd6a48bc226fbe3a6d2fa813af9c /scripts/patch-kernel | |
parent | d2506586586c59f5db0e2ce00d5d31ccec6260b8 (diff) |
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 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions