checkpatch: add test for keywords not starting on tabstops
authorJoe Perches <joe@perches.com>
Sat, 21 May 2016 00:04:05 +0000 (17:04 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 21 May 2016 00:58:30 +0000 (17:58 -0700)
commita91e8994f242a500bf05b9ee96fcd7ab0228f05f
tree45a5035b4c85592811e1d1603ee5048b1b7e8c30
parentf39e1769bbfc4936ff8364fb2529dc8bf6bc6888
checkpatch: add test for keywords not starting on tabstops

It's somewhat common and in general a defect for c90 keywords to
not start on a tabstop.

Add a test for this condition and warn when it occurs.

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