aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernd Schubert <bernd@bsbernd.com>2025-01-04 22:06:31 +0100
committerBernd Schubert <bernd@bsbernd.com>2025-02-10 16:56:45 +0100
commit0cab87aeff36503a74222e181d5206b2c77c9bb9 (patch)
treed5cc0eb0f6ccad13e947bc0e39f218e3d940b599
parent0dd19282594430fe2e2b3aa7f2def466675dcadf (diff)
downloadlibfuse-0cab87aeff36503a74222e181d5206b2c77c9bb9.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>
-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