]> 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>
Fri, 2 Dec 2011 03:15:44 +0000 (14:15 +1100)
commit2ebd5026276af069e6f835abc5f70a70cad5d27c
treed3cbec009395469810d56d2c7e9a6385659c160d
parent020a0bd27cfe64bc2d88ed4bb34177c7f213c812
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