osmith has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ci/+/27202 )
Change subject: lint: checkpatch: add typedefs_osmo.txt ......................................................................
lint: checkpatch: add typedefs_osmo.txt
Fix false error: ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
in a line with a typedef: int handle_rab_ass_req(..., ranap_message *message);
Change-Id: Icbc46d0c788ca75684a48a73f739265f4a09b09c --- M lint/checkpatch/checkpatch_osmo.sh A lint/checkpatch/typedefs_osmo.txt 2 files changed, 2 insertions(+), 0 deletions(-)
Approvals: Jenkins Builder: Verified osmith: Verified dexter: Looks good to me, approved
diff --git a/lint/checkpatch/checkpatch_osmo.sh b/lint/checkpatch/checkpatch_osmo.sh index 8514f9c..93b601b 100755 --- a/lint/checkpatch/checkpatch_osmo.sh +++ b/lint/checkpatch/checkpatch_osmo.sh @@ -116,6 +116,7 @@ --ignore UNSPECIFIED_INT \ --ignore VOLATILE \ --max-line-length 120 \ + --typedefsfile "$SCRIPT_DIR/typedefs_osmo.txt" \ --no-signoff \ --no-tree \ "$@" diff --git a/lint/checkpatch/typedefs_osmo.txt b/lint/checkpatch/typedefs_osmo.txt new file mode 100644 index 0000000..5164368 --- /dev/null +++ b/lint/checkpatch/typedefs_osmo.txt @@ -0,0 +1 @@ +ranap_message