checkpatch: detect multiple bitfield declarations
authorAndy Whitcroft <apw@shadowen.org>
Tue, 6 Jan 2009 22:41:19 +0000 (14:41 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 6 Jan 2009 23:59:15 +0000 (15:59 -0800)
commit8e761b04a34288a3b0b29c0f49cdf157d7db8863
tree70aa571d291926c33327acffa4923d0124cd9b12
parent5fe3af119bed58d240e2097fe76f322ab51902d7
checkpatch: detect multiple bitfield declarations

Detect the colons (:) which make up secondary bitfield declarations and
apply binary colon checks.  For example the following is common idiom:

int foo:1,
    bar:1;

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>
scripts/checkpatch.pl