]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit76db801e079085be257878308861e719e77d804e
tree27031787fd91dc2194c9186ef2f4e414841f91b7
parent674d3388e1d38c7bf57b127e78b8bb5b84fffbfe
checkpatch: fix "GLOBAL_INITIALISERS" test

Commit 628f395df5c1 ("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