diff options
author | Oliver Smith <osmith@sysmocom.de> | 2022-02-15 13:45:20 +0100 |
---|---|---|
committer | Oliver Smith <osmith@sysmocom.de> | 2022-02-15 13:47:06 +0100 |
commit | cf1fdbf030d9755b7b8cf5622ebc6719401b5a0d (patch) | |
tree | 71d3653102c7f4b6b132f65c050feb16ec2c34dc /lint | |
parent | 7a40ff9aa10d89de86fd6a56f651aeb1a30acc98 (diff) |
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
Diffstat (limited to 'lint')
-rwxr-xr-x | lint/checkpatch/checkpatch_osmo.sh | 1 | ||||
-rw-r--r-- | lint/checkpatch/typedefs_osmo.txt | 1 |
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 @@ $SCRIPT_DIR/checkpatch.pl \ --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 |