From 477218474fcb1e7beb9c5251fccbeb86dd794ab2 Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Wed, 15 Sep 2021 16:38:35 +0200 Subject: [PATCH] lint: checkpatch_osmo.sh: ignore debian/changelog Auto-generated from commit log, may contain spelling errors. Fixes: OS#5232 Change-Id: Id0ccfbff73464dac7f7f939c88a9e2677fa2a37f --- lint/checkpatch/checkpatch_osmo.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lint/checkpatch/checkpatch_osmo.sh b/lint/checkpatch/checkpatch_osmo.sh index b9860b4a..4710b7b7 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/' \