checkpatch: Update checkpatch readme and remove addition blank line

Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
This commit is contained in:
liuhaitao 2020-04-13 16:55:47 +08:00 committed by Xiang Xiao
parent d893d78d90
commit 032a04f4d6
2 changed files with 2 additions and 1 deletions

View File

@ -44,6 +44,8 @@ checkpatch.sh
-f <file list>
- read standard input mainly used by git pre-commit hook as below:
git diff --cached | ./tools/checkpatch.sh -
Where a <commit list> is any syntax supported by git for specifying git revision, see GITREVISIONS(7)
Where a <patch file names> is a space separated list of patch file names or wildcard. or *.patch
configure.sh
configure.bat

View File

@ -36,7 +36,6 @@ usage() {
echo " git diff --cached | ./tools/checkpatch.sh -"
echo "Where a <commit list> is any syntax supported by git for specifying git revision, see GITREVISIONS(7)"
echo "Where a <patch file names> is a space separated list of patch file names or wildcard. or *.patch"
}
check_file() {