]> git.karo-electronics.de Git - karo-tx-linux.git/commit
checkpatch: typeof may have more complex arguments
authorAndy Whitcroft <apw@canonical.com>
Fri, 16 Dec 2011 04:50:20 +0000 (15:50 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 21 Dec 2011 06:01:29 +0000 (17:01 +1100)
commit13e1883ee0f7c37b660089ed230b40fb80cf4764
tree8b882ce471f20d35755abb3e535b029cf034a495
parent9206e487203f2f3220e647535b92d1ac005d88c5
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