]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit45bce00354d3c346a2fba2f05cfc40492f2fe4b5
tree45a5035b4c85592811e1d1603ee5048b1b7e8c30
parent30685b77438c8c3b83795d5d7bee077062eed86d
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