[XS] Change in osmo-ci[master]: lint: checkpatch: ignore ENOSYS
osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ci/+/44236?usp=email ) Change subject: lint: checkpatch: ignore ENOSYS ...................................................................... lint: checkpatch: ignore ENOSYS I saw CI complain with: src/dahdi_trunkdev.c:216: WARNING:ENOSYS: ENOSYS means 'invalid syscall nr' and nothing else Using ENOSYS outside of the kernel to check if the syscall is valid with whatever kernel version is running on the current system is fine, so ignore this. Change-Id: I884c112a723a41d620a11b096913a5f1342aec02 --- M lint/checkpatch/checkpatch_osmo.sh 1 file changed, 2 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/36/44236/1 diff --git a/lint/checkpatch/checkpatch_osmo.sh b/lint/checkpatch/checkpatch_osmo.sh index ec10b0c..f241176 100755 --- a/lint/checkpatch/checkpatch_osmo.sh +++ b/lint/checkpatch/checkpatch_osmo.sh @@ -61,6 +61,7 @@ # * DEEP_INDENTATION: warns about many leading tabs, not useful if changing existing code without refactoring # * EMBEDDED_FILENAME: this is useful sometimes (e.g. explaining how to use a script), so do not fail here # * EMBEDDED_FUNCTION_NAME: often __func__ isn't used, arguably not much benefit in changing this when touching code +# * ENOSYS: complains about using ENOSYS, which doesn't make sense outside of the kernel # * EXECUTE_PERMISSIONS: not followed, files need to be executable: git-version-gen, some in debian/ # * FILE_PATH_CHANGES: we don't use a MAINTAINERS file # * GLOBAL_INITIALISERS: we initialise globals to NULL for talloc ctx (e.g. *tall_lapd_ctx = NULL) @@ -100,6 +101,7 @@ --ignore DEEP_INDENTATION \ --ignore EMBEDDED_FILENAME \ --ignore EMBEDDED_FUNCTION_NAME \ + --ignore ENOSYS \ --ignore EXECUTE_PERMISSIONS \ --ignore FILE_PATH_CHANGES \ --ignore GLOBAL_INITIALISERS \ -- To view, visit https://gerrit.osmocom.org/c/osmo-ci/+/44236?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: newchange Gerrit-Project: osmo-ci Gerrit-Branch: master Gerrit-Change-Id: I884c112a723a41d620a11b096913a5f1342aec02 Gerrit-Change-Number: 44236 Gerrit-PatchSet: 1 Gerrit-Owner: osmith <osmith@sysmocom.de>
participants (1)
-
osmith