checkpatch: complex macros checks miss square brackets
authorAndy Whitcroft <[email protected]>
Thu, 16 Oct 2008 05:02:33 +0000 (22:02 -0700)
committerLinus Torvalds <[email protected]>
Thu, 16 Oct 2008 18:21:37 +0000 (11:21 -0700)
commitbf30d6ede099c2a31b13bbd05b1022dc0da684d5
tree54bf58e8077d06b7430b08044241cc230d5f5fca
parentf16fa28f7b3d95e989fc64c8480e44c1bcf4bac3
checkpatch: complex macros checks miss square brackets

We are missing 'simple' values which include square brackets.  Refactor to
ensure we handle nesting correctly and detect these simple forms.

Signed-off-by: Andy Whitcroft <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
scripts/checkpatch.pl