diff options
author | Oliver Smith <osmith@sysmocom.de> | 2021-09-13 10:32:15 +0200 |
---|---|---|
committer | Oliver Smith <osmith@sysmocom.de> | 2021-09-13 10:32:15 +0200 |
commit | 94cf194666e3494a4ef82eca822175eea265e411 (patch) | |
tree | f281df205ddb7fabc6f0c544798023ac4ce8bb4c | |
parent | a18e6dfa40ef69dcf718e25bdaefed4a34fe122a (diff) |
lint: checkpatch_osmo.sh: ignore UNNECESSARY_INT
Related: https://gerrit.osmocom.org/c/libosmocore/+/25345/4#message-8f6827dc90942698d23ebb909544bf60fa461b2d
Related: OS#5087
Change-Id: I5be890a296b37511affc17cb786f0709de822826
-rwxr-xr-x | lint/checkpatch/checkpatch_osmo.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lint/checkpatch/checkpatch_osmo.sh b/lint/checkpatch/checkpatch_osmo.sh index 849ccda..7ef8ca4 100755 --- a/lint/checkpatch/checkpatch_osmo.sh +++ b/lint/checkpatch/checkpatch_osmo.sh @@ -31,6 +31,7 @@ SCRIPT_DIR="$(dirname "$(realpath "$0")")" # * SPDX_LICENSE_TAG: we don't place it on line 1 # * SPLIT_STRING: we do split long messages over multiple lines # * STRING_FRAGMENTS: sometimes used intentionally to improve readability +# * UNNECESSARY_INT: not followed (see https://gerrit.osmocom.org/c/libosmocore/+/25345) $SCRIPT_DIR/checkpatch.pl \ --exclude '\.(ok|err)$' \ @@ -62,6 +63,7 @@ $SCRIPT_DIR/checkpatch.pl \ --ignore SPDX_LICENSE_TAG \ --ignore SPLIT_STRING \ --ignore STRING_FRAGMENTS \ + --ignore UNNECESSARY_INT \ --max-line-length 120 \ --no-signoff \ --no-tree \ |