]> git.kernelconcepts.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>
Tue, 20 Dec 2011 07:43:52 +0000 (18:43 +1100)
commit6c14fca91ae9ff1a0cce349d5dee707aa04b5e1a
tree5b4aaf72c4e88eeea815b99e759116bcc6a01de6
parent024d26a29d0ccafe200b24a01902e57ab24558b3
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