aboutsummaryrefslogtreecommitdiffstats
path: root/lint
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2021-07-12 16:46:04 +0200
committerOliver Smith <osmith@sysmocom.de>2021-07-15 10:21:47 +0200
commit972e8bcbb00cc976378b0b1a260ce027576c3e44 (patch)
tree0b3ce757d688ae38a3c91f63e0fda97d378e5cd7 /lint
parentb6e2adb0aa8fca574cfdc98d2aca4f11ee4f598a (diff)
lint: ignore PREFER_FALLTHROUGH
Diffstat (limited to 'lint')
-rwxr-xr-xlint/checkpatch/checkpatch_osmo.sh2
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 \