checkpatch: fix "GLOBAL_INITIALISERS" test
authorJoe Perches <joe@perches.com>
Wed, 10 Jun 2015 18:14:52 +0000 (11:14 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 10 Jun 2015 23:43:43 +0000 (16:43 -0700)
commit5129e87cb81996d4d7e8f5a86b5355c5f2d0383b
tree27031787fd91dc2194c9186ef2f4e414841f91b7
parentd7ad41a1c498729b7584c257710b1b437a0c1470
checkpatch: fix "GLOBAL_INITIALISERS" test

Commit d5e616fc1c1d ("checkpatch: add a few more --fix corrections")
broke the GLOBAL_INITIALISERS test with bad parentheses and optional
leading spaces.

Fix it.

Signed-off-by: Joe Perches <joe@perches.com>
Reported-by: Bandan Das <bsd@makefile.in>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl