]> git.karo-electronics.de Git - karo-tx-linux.git/commit
checkpatch: typeof may have more complex arguments
authorAndy Whitcroft <apw@canonical.com>
Fri, 2 Dec 2011 03:12:46 +0000 (14:12 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 5 Dec 2011 04:19:29 +0000 (15:19 +1100)
commit2f395c26b1b4e024202364fdbfc558cb2f311c8b
treeaa8bd3b03b6f825e9ef73c52701bff8665419d15
parent0cde7111880dbe3cac0443f9cdd80aa49bd63862
checkpatch: typeof may have more complex arguments

typeof may have various more complex forms as its arguement, not just an
identifier.  For now allow us to leak to the first close perenthesis ')'.

Signed-off-by: Andy Whitcroft <apw@canonical.com>
Cc: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
scripts/checkpatch.pl