]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7a42b43901259b842efa50eee1bba8ee13317fc6
tree4532e530d3e97917dc8a82bfc1f23f91e9627150
parent31b9deacb8dac574dae170a319a5517ab2eba02e
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