checkpatch: possible modifiers -- handle multiple modifiers and trailing
commitd2506586586c59f5db0e2ce00d5d31ccec6260b8
authorAndy Whitcroft <apw@shadowen.org>
Thu, 24 Jul 2008 04:29:09 +0000 (23 21:29 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 24 Jul 2008 17:47:26 +0000 (24 10:47 -0700)
treef55f7723e9a1ad6bcb5826bbb9a73b2579f7b846
parent0221f55c142b0ac8baf6f0b6c4e1ec89f0c98e96
checkpatch: possible modifiers -- handle multiple modifiers and trailing

Add support for multiple modifiers such as:

int __one __two foo;

Also handle trailing known modifiers when defecting modifiers:

int __one foo __read_mostly;

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