From: Bernd Schubert Date: Fri, 24 Jan 2025 10:28:52 +0000 (+0100) Subject: checkpatch: Ignore ENOSYS_SYSCALL X-Git-Tag: fuse-3.17.1-rc0~15 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=33e53dc059944001bee77dc8861e2df70672d7d1;p=qemu-gpiodev%2Flibfuse.git checkpatch: Ignore ENOSYS_SYSCALL This ENOSYS is the fuse protocol return code to tell fuse client/kernel that an operation is not supported, warning on it is not right. Signed-off-by: Bernd Schubert --- diff --git a/.github/workflows/checkpatch.yml b/.github/workflows/checkpatch.yml index 91db8f2..1adada4 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,AVOID_EXTERNS,GIT_COMMIT_ID -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,ENOSYS_SYSCALL -g $commit; then echo "checkpatch.pl found issues in commit $commit - $subject" exit 1 fi