aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
authorBernd Schubert <bernd@bsbernd.com>2025-01-04 22:06:31 +0100
committerBernd Schubert <bernd@bsbernd.com>2025-01-06 13:40:18 +0100
commita1e5aded5942e78472e6d60846a3f4e769d13680 (patch)
treed5cc0eb0f6ccad13e947bc0e39f218e3d940b599 /.github/workflows
parent1c58dc6c0e4001334b20290d24d20cec9f81e638 (diff)
downloadlibfuse-a1e5aded5942e78472e6d60846a3f4e769d13680.tar.gz
checkpatch: Disable warning for externs in C files
We do actually need these, at least for compat.c. Also disable git commit id warnings, these are doing more harm than good (for example trigger long line warnings when fulfilled). Signed-off-by: Bernd Schubert <bernd@bsbernd.com>
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/checkpatch.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/checkpatch.yml b/.github/workflows/checkpatch.yml
index 3f0eb9f..91db8f2 100644
--- a/.github/workflows/checkpatch.yml
+++ b/.github/workflows/checkpatch.yml
@@ -24,7 +24,7 @@ jobs:
git rev-list --reverse $base_commit..HEAD | while read commit; do
subject=$(git log -1 --format=%s $commit)
echo "Checking commit: $commit - $subject"
- if ! ./checkpatch.pl --no-tree --ignore MAINTAINERS,SPDX_LICENSE_TAG,COMMIT_MESSAGE,FILE_PATH_CHANGES,EMAIL_SUBJECT -g $commit; then
+ if ! ./checkpatch.pl --no-tree --ignore MAINTAINERS,SPDX_LICENSE_TAG,COMMIT_MESSAGE,FILE_PATH_CHANGES,EMAIL_SUBJECT,AVOID_EXTERNS,GIT_COMMIT_ID -g $commit; then
echo "checkpatch.pl found issues in commit $commit - $subject"
exit 1
fi