aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2021-09-15 16:38:35 +0200
committerOliver Smith <osmith@sysmocom.de>2021-09-15 16:41:18 +0200
commit477218474fcb1e7beb9c5251fccbeb86dd794ab2 (patch)
tree6f1210d616c77c427c8eca0916d082a518d2c531
parentcbc58a68740333a6dcf75a2a948a1f48707cd4ce (diff)
lint: checkpatch_osmo.sh: ignore debian/changelog
Auto-generated from commit log, may contain spelling errors. Fixes: OS#5232 Change-Id: Id0ccfbff73464dac7f7f939c88a9e2677fa2a37f
-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 b9860b4..4710b7b 100755
--- a/lint/checkpatch/checkpatch_osmo.sh
+++ b/lint/checkpatch/checkpatch_osmo.sh
@@ -3,6 +3,7 @@ SCRIPT_DIR="$(dirname "$(realpath "$0")")"
# Excluded paths:
# * \.(ok|err)$: stdout and stderr of regression tests
+# * ^debian/changelog$: generated from commit log, which may contain spelling errors (OS#5232)
# * ^lint/checkpatch/: so it does not warn about spelling errors in spelling.txt :)
# * ^src/gsm/kdf/: libosmocore: imported code
# * ^src/gsm/milenage/: libosmocore: imported code
@@ -36,6 +37,7 @@ SCRIPT_DIR="$(dirname "$(realpath "$0")")"
$SCRIPT_DIR/checkpatch.pl \
--exclude '\.(ok|err)$' \
+ --exclude '^debian/changelog$' \
--exclude '^lint/checkpatch/' \
--exclude '^src/gsm/kdf/' \
--exclude '^src/gsm/milenage/' \