From: Andy Whitcroft Date: Thu, 24 Jul 2008 04:29:10 +0000 (-0700) Subject: checkpatch: add checks for question mark and colon spacing X-Git-Tag: v2.6.27-rc1~695 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1f65f947a6a8;p=pandora-kernel.git 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed