]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commitd6430f71805aa98d6e8fbc67e605922aefcf9ceb
tree603275c8ba3456c9c29b5865c5cdf93571d01466
parent224236d9c3a65d23cd3f113042404cf5e09e393c
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