From 032a04f4d6594c7feddf0ec50aa33a8313ce879c Mon Sep 17 00:00:00 2001 From: liuhaitao Date: Mon, 13 Apr 2020 16:55:47 +0800 Subject: [PATCH] checkpatch: Update checkpatch readme and remove addition blank line Signed-off-by: liuhaitao --- tools/README.txt | 2 ++ tools/checkpatch.sh | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/README.txt b/tools/README.txt index 6e6a5df24fd..dc43240216e 100644 --- a/tools/README.txt +++ b/tools/README.txt @@ -44,6 +44,8 @@ checkpatch.sh -f - read standard input mainly used by git pre-commit hook as below: git diff --cached | ./tools/checkpatch.sh - + Where a is any syntax supported by git for specifying git revision, see GITREVISIONS(7) + Where a is a space separated list of patch file names or wildcard. or *.patch configure.sh configure.bat diff --git a/tools/checkpatch.sh b/tools/checkpatch.sh index 48b9f29f94b..3fbc5598603 100755 --- a/tools/checkpatch.sh +++ b/tools/checkpatch.sh @@ -36,7 +36,6 @@ usage() { echo " git diff --cached | ./tools/checkpatch.sh -" echo "Where a is any syntax supported by git for specifying git revision, see GITREVISIONS(7)" echo "Where a is a space separated list of patch file names or wildcard. or *.patch" - } check_file() {