[PATCH 1/2] dim: show checkpatch warning types
Jani Nikula
jani.nikula at intel.com
Fri Mar 2 15:57:59 UTC 2018
checkpatch classifies its warnings to types. Print them in the
checkpatch output to be better able to discuss ignoring types.
Signed-off-by: Jani Nikula <jani.nikula at intel.com>
---
dim | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dim b/dim
index ed26033f5aba..35eb16104222 100755
--- a/dim
+++ b/dim
@@ -1362,7 +1362,7 @@ function checkpatch_commit
cmd="git show --pretty=email $commit"
git --no-pager log --oneline -1 $commit
- if ! $cmd | scripts/checkpatch.pl -q --emacs --strict -; then
+ if ! $cmd | scripts/checkpatch.pl -q --emacs --strict --show-types -; then
rv=1
fi
--
2.11.0
More information about the dim-tools
mailing list