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)
commit0fe3dc2bc554b849c27c0ebc36daedf032514200
treee30769f92c8d679ddea2d007a72f83b743736d7f
parent8b8856f4b102ce148611322465f2ff8932664411
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