]> git.baikalelectronics.ru Git - kernel.git/commit
checkpatch: add for_each tests to indentation and brace tests
authorJoe Perches <joe@perches.com>
Wed, 6 Aug 2014 23:11:16 +0000 (16:11 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 7 Aug 2014 01:01:29 +0000 (18:01 -0700)
commit0a909695f07b8cb69ef3a0617d358540051d5e2e
treee30769f92c8d679ddea2d007a72f83b743736d7f
parente59089689f957f1035f188796b25926b6a1423ea
checkpatch: add for_each tests to indentation and brace tests

All the various for_each loop macros were not tested for trailing brace
on the following lines and for bad indentation.

Add them.

Signed-off-by: Joe Perches <joe@perches.com>
Reported-by: Greg KH <gregkh@linuxfoundation.org>
Cc: Andy Whitcroft <apw@canonical.com
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl