checkpatch: typeof may have more complex arguments
authorAndy Whitcroft <apw@canonical.com>
Tue, 10 Jan 2012 23:10:13 +0000 (15:10 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 11 Jan 2012 00:30:51 +0000 (16:30 -0800)
commit6b48db24e30d371bc54566667b82ca3d64aab80a
tree4532e530d3e97917dc8a82bfc1f23f91e9627150
parentaddcdcea99514bee64b5bf091ac9fd2fc5da65cf
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl