]> git.karo-electronics.de Git - karo-tx-linux.git/commit
checkpatch: typeof may have more complex arguments
authorAndy Whitcroft <apw@canonical.com>
Thu, 8 Dec 2011 04:42:25 +0000 (15:42 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 13 Dec 2011 06:43:21 +0000 (17:43 +1100)
commit40d4b3bacc48958d4b939a221395ee84685e5970
tree90d40649bbb70c26faaa5d3adbac8a348538f230
parent6c8c33aeb5465f3e3ca195c9fd7d426768f257bf
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