]> git.baikalelectronics.ru Git - kernel.git/commit
checkpatch: Allow comments in macros tested for single statements
authorJoe Perches <joe@perches.com>
Fri, 13 Feb 2015 22:38:32 +0000 (14:38 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 14 Feb 2015 05:21:39 +0000 (21:21 -0800)
commite618dfd3dabe1415cc698487cc86780fa8f1a273
tree50b91fe85dfacb31415e712e4771e3b81a319c3c
parentdda0bbb9d55e5abec445a1ce1da4c22b5e59ad7b
checkpatch: Allow comments in macros tested for single statements

Convert all the comments to spaces before testing for single statement
macros.

Reported-by: Valdis Kletnieks <Valdis.Kletnieks@vt.edu>
Signed-off-by: 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