3 ## SPDX-License-Identifier: GPL-2.0-only
8 %MAKE
% check-style lint-stable
10 PATCHDIFF
=$
(git
diff --cached --src-prefix=a
/ --dst-prefix=b
/)
11 if printf "%s\n" "$PATCHDIFF" |
grep -q "@@"; then
13 echo "Running checkpatch"
14 printf "%s\n" "$PATCHDIFF" | util
/lint
/lint-007-checkpatch
diff \
15 ||
(echo "Please consider fixing these issues." ;sleep 5) ; true