diff options
author | Oliver Smith <osmith@sysmocom.de> | 2021-07-12 16:46:04 +0200 |
---|---|---|
committer | Oliver Smith <osmith@sysmocom.de> | 2021-07-15 10:21:47 +0200 |
commit | 972e8bcbb00cc976378b0b1a260ce027576c3e44 (patch) | |
tree | 0b3ce757d688ae38a3c91f63e0fda97d378e5cd7 /lint | |
parent | b6e2adb0aa8fca574cfdc98d2aca4f11ee4f598a (diff) |
lint: ignore PREFER_FALLTHROUGH
Related: OS#5087
Change-Id: I373a231cf08fd23312ad9a85d8e2855a736e331a
Diffstat (limited to 'lint')
-rwxr-xr-x | lint/checkpatch/checkpatch_osmo.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lint/checkpatch/checkpatch_osmo.sh b/lint/checkpatch/checkpatch_osmo.sh index 1932c03..7ee8ed6 100755 --- a/lint/checkpatch/checkpatch_osmo.sh +++ b/lint/checkpatch/checkpatch_osmo.sh @@ -20,6 +20,7 @@ SCRIPT_DIR="$(dirname "$(realpath "$0")")" # * INITIALISED_STATIC: we use this, see also http://lkml.iu.edu/hypermail/linux/kernel/0808.1/2235.html # * LINE_CONTINUATIONS: false positives # * LINE_SPACING: we don't always put a blank line after declarations +# * PREFER_FALLTHROUGH: pseudo keyword macro "fallthrough" is not defined in libosmocore # * REPEATED_WORD: false positives in doxygen descriptions (e.g. '\param[in] data Data passed through...') # * SPDX_LICENSE_TAG: we don't place it on line 1 # * SPLIT_STRING: we do split long messages over multiple lines @@ -42,6 +43,7 @@ $SCRIPT_DIR/checkpatch.pl \ --ignore INITIALISED_STATIC \ --ignore LINE_CONTINUATIONS \ --ignore LINE_SPACING \ + --ignore PREFER_FALLTHROUGH \ --ignore REPEATED_WORD \ --ignore SPDX_LICENSE_TAG \ --ignore SPLIT_STRING \ |