]> 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>
Wed, 7 Dec 2011 05:32:57 +0000 (16:32 +1100)
commitcd195d367d91610d17d877feca9ca1393df5154a
tree3581ba69c1b74674a3fd444d60682807218eb34b
parentb72e38ea8ad2f4002b2daafd9a3ae15cd5bd36f4
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