osmith submitted this change.

View Change

Approvals: Jenkins Builder: Verified osmith: Verified dexter: Looks good to me, approved
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(-)

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

To view, visit change 27202. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: Icbc46d0c788ca75684a48a73f739265f4a09b09c
Gerrit-Change-Number: 27202
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith@sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: dexter <pmaier@sysmocom.de>
Gerrit-Reviewer: osmith <osmith@sysmocom.de>
Gerrit-MessageType: merged