diff options
author | Oliver Smith <osmith@sysmocom.de> | 2021-07-19 14:26:07 +0200 |
---|---|---|
committer | Oliver Smith <osmith@sysmocom.de> | 2021-07-19 14:39:43 +0200 |
commit | dc66e9a3949e6569ca61cd644c88f0f0cc2d4454 (patch) | |
tree | 553ec35c9963dfb731d6b1d92e64cf72e53cb86f /lint/checkpatch | |
parent | dbc4e6e78fb4b961b2acaeddcb557987a3d8a037 (diff) |
lint: exclude kdf, milenage for libosmocore
Imported code that doesn't follow our guidelines (e.g. spaces used
instead of tabs).
Related: OS#5087
Change-Id: Iccf59d66f35ede9710258faf9d4257584214bb17
Diffstat (limited to 'lint/checkpatch')
-rwxr-xr-x | lint/checkpatch/checkpatch_osmo.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lint/checkpatch/checkpatch_osmo.sh b/lint/checkpatch/checkpatch_osmo.sh index 88f0b2d..e88688a 100755 --- a/lint/checkpatch/checkpatch_osmo.sh +++ b/lint/checkpatch/checkpatch_osmo.sh @@ -4,6 +4,8 @@ SCRIPT_DIR="$(dirname "$(realpath "$0")")" # Excluded paths: # * \.(ok|err)$: stdout and stderr of regression tests # * ^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 # Ignored checks: # * ASSIGN_IN_IF: not followed (e.g. 'if ((u8 = gsup_msg->cause))') @@ -31,6 +33,8 @@ SCRIPT_DIR="$(dirname "$(realpath "$0")")" $SCRIPT_DIR/checkpatch.pl \ --exclude '\.(ok|err)$' \ --exclude '^lint/checkpatch/' \ + --exclude '^src/gsm/kdf/' \ + --exclude '^src/gsm/milenage/' \ --ignore ASSIGN_IN_IF \ --ignore AVOID_EXTERNS \ --ignore BLOCK_COMMENT_STYLE \ |