Lines Matching full:checkpatch
5 # if no CHECKPATCH is explicitly given by the environment, try to
6 # locate checkpatch.pl: first take the one from the path, then check
9 if [ -z "$CHECKPATCH" ]; then
10 CHECKPATCH=$(command -v checkpatch.pl)
12 if [ -z "$CHECKPATCH" ]; then
13 CHECKPATCH=$(find /usr/src/linux-headers* -name checkpatch.pl -print -quit)
15 if [ -z "$CHECKPATCH" ]; then
16 CHECKPATCH=$(find "$PWD/../linux" -name checkpatch.pl -print -quit)
21 hash $CHECKPATCH 2>/dev/null ||
22 { echo >&2 "Could not find checkpatch.pl, aborting"; exit 1; }
27 checkpatch.sh [--working]
28 checkpatch.sh <COMMIT>...
29 checkpatch.sh <SELECTION>...
30 checkpatch.sh --diff <COMMIT> <COMMIT>
31 checkpatch.sh --cached
32 checkpatch.sh --help
46 checkpatch.sh commit1 commit2 commit3 Check commit1, commit2, and commit3.
48 checkpatch.sh HEAD~5 Check the commit 5 revisions before
51 checkpatch.sh commit1..^commit2 Check each commit from commit1 to
55 checkpatch.sh HEAD~5..HEAD~1 Check each commit from HEAD~5 to
59 checkpatch.sh commit1...tags/tag1 Check each commit that exists
64 checkpatch.sh HEAD~10-5 Check 5 commits moving forward in
68 checkpatch.sh branch1 tags/tag1 Check the HEAD of branch1 and the
95 for c in "$@"; do checkpatch "$c"; done
100 # run checkpatch if the parsed argument represents a single commit hash
102 checkpatch "${object}"
104 # expand the object list and run checkpatch on each commit id
106 for c in ${commits}; do checkpatch "$c"; done