Home
last modified time | relevance | path

Searched full:checkpatch (Results 1 – 7 of 7) sorted by relevance

/optee_os/scripts/
H A Dcheckpatch.sh5 # 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; }
[all …]
H A Dcheckpatch_inc.sh3 CHECKPATCH="${CHECKPATCH:-checkpatch.pl}"
5 # checkpatch.pl will ignore the following paths
21 # Use --typedefsfile if supported by the checkpatch tool
22 typedefs_opt="--typedefsfile typedefs.checkpatch"
23 $CHECKPATCH --help 2>&1 | grep -q -- --typedefsfile || \
27 eval "$CHECKPATCH $CHECKPATCH_OPT $typedefs_opt -"
30 function checkpatch() { function
/optee_os/
H A DMakefile122 .PHONY: checkpatch checkpatch-staging checkpatch-working
123 checkpatch: checkpatch-staging checkpatch-working target
125 checkpatch-working:
126 ${q}./scripts/checkpatch.sh
128 checkpatch-staging:
129 ${q}./scripts/checkpatch.sh --cached
H A D.gitignore11 !.checkpatch.conf
/optee_os/.github/workflows/
H A Dci.yml17 fetch-depth: 0 # full history so checkpatch can check commit IDs in commit messages
20 - name: Run checkpatch
23 # checkpatch task
28 wget --quiet https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/plain/scripts/checkpatch.pl
29 chmod +x checkpatch.pl
31 echo "invalid.struct.name" >const_structs.checkpatch
36 # Run checkpatch.pl:
41 # commits do solve previous checkpatch errors)
43 _do checkpatch HEAD || failed=1; \
46 _do checkpatch
[all...]
/optee_os/.github/
H A Dpull_request_template.md11 3. You should run checkpatch preferably before submitting the pull request.
/optee_os/lib/libutils/ext/include/
H A Dconfig.h34 * to avoid triggering false positives with checkpatch.