osmith has uploaded this change for review. (
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(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/02/27202/1
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
https://gerrit.osmocom.org/c/osmo-ci/+/27202
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: Icbc46d0c788ca75684a48a73f739265f4a09b09c
Gerrit-Change-Number: 27202
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-MessageType: newchange