lint: checkpatch_osmo.sh: ignore debian/changelog

Auto-generated from commit log, may contain spelling errors.

Fixes: OS#5232
Change-Id: Id0ccfbff73464dac7f7f939c88a9e2677fa2a37f
This commit is contained in:
Oliver Smith 2021-09-15 16:38:35 +02:00
parent cbc58a6874
commit 477218474f
1 changed files with 2 additions and 0 deletions

View File

@ -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/' \