]> 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)
commitcf1001c94b43f5a587135541f1f46c180311b5a6
tree4532e530d3e97917dc8a82bfc1f23f91e9627150
parenteb16c854a50af56c7da8319021725c3dae44c925
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