[dpdk-dev] [PATCH] scripts: improve quiet checkpatch

Thomas Monjalon thomas.monjalon at 6wind.com
Sun Dec 13 03:37:22 CET 2015


The option --no-summary will remove this line in quiet mode:
	total: 1 errors, 0 warnings, 7 lines checked

Signed-off-by: Thomas Monjalon <thomas.monjalon at 6wind.com>
---
 scripts/checkpatches.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/checkpatches.sh b/scripts/checkpatches.sh
index afc611b..36376e6 100755
--- a/scripts/checkpatches.sh
+++ b/scripts/checkpatches.sh
@@ -58,7 +58,7 @@ quiet=false
 verbose=false
 while getopts hqv ARG ; do
 	case $ARG in
-		q ) quiet=true ;;
+		q ) quiet=true && options="$options --no-summary" ;;
 		v ) verbose=true ;;
 		h ) print_usage ; exit 0 ;;
 		? ) print_usage ; exit 1 ;;
-- 
2.5.2



More information about the dev mailing list