]> git.baikalelectronics.ru Git - kernel.git/commit
checkpatch: don't check .pl files, improve absolute path commit log test
authorJoe Perches <joe@perches.com>
Tue, 13 Dec 2016 00:46:28 +0000 (16:46 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 13 Dec 2016 02:55:10 +0000 (18:55 -0800)
commit0b1381dbf63c7d707e04f46f3468fb887dfe66cd
tree603275c8ba3456c9c29b5865c5cdf93571d01466
parent1974067a1dfa5a91051e05a4047bd904f13f3db1
checkpatch: don't check .pl files, improve absolute path commit log test

perl files (*.pl) are mostly inappropriate to check coding styles so
exempt them from long line checks and various .[ch] file type tests.

And as well, only scan absolute paths in the commit log, not in the
patch.

Link: http://lkml.kernel.org/r/85b101d50acafe6c0261d9f7df283c827da52c4a.1477340110.git.joe@perches.com
Signed-off-by: Joe Perches <joe@perches.com>
Cc: Andy Whitcroft <apw@canonical.com>
Cc: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl