From 94cf194666e3494a4ef82eca822175eea265e411 Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Mon, 13 Sep 2021 10:32:15 +0200 Subject: lint: checkpatch_osmo.sh: ignore UNNECESSARY_INT Related: https://gerrit.osmocom.org/c/libosmocore/+/25345/4#message-8f6827dc90942698d23ebb909544bf60fa461b2d Related: OS#5087 Change-Id: I5be890a296b37511affc17cb786f0709de822826 --- 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 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 \ -- cgit v1.2.3