diff options
author | Oliver Smith <osmith@sysmocom.de> | 2022-02-15 13:51:09 +0100 |
---|---|---|
committer | Oliver Smith <osmith@sysmocom.de> | 2022-02-15 13:51:09 +0100 |
commit | bc9bd3df75c30d2f6588e92258b8d62a0c4aacdb (patch) | |
tree | 0e79696ece89cf51a18f88c0a7c7d0de63bd9f29 | |
parent | cf1fdbf030d9755b7b8cf5622ebc6719401b5a0d (diff) |
lint: checkpatch: show hint about typedefs_osmo.txt
Change-Id: Icaee700a9cc7896cdbda6cce93db41b6b50a7fa3
-rwxr-xr-x | lint/checkpatch/checkpatch.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lint/checkpatch/checkpatch.pl b/lint/checkpatch/checkpatch.pl index 51c406e..d98d79c 100755 --- a/lint/checkpatch/checkpatch.pl +++ b/lint/checkpatch/checkpatch.pl @@ -5151,7 +5151,7 @@ sub process { } } elsif ($ctx =~ /Wx[^WCE]|[^WCE]xW/) { if (ERROR("SPACING", - "need consistent spacing around '$op' $at\n" . $hereptr)) { + "need consistent spacing around '$op' $at (or typedef missing in osmo-ci/lint/checkpatch/typedefs_osmo.txt?)\n" . $hereptr)) { $good = rtrim($fix_elements[$n]) . " " . trim($fix_elements[$n + 1]) . " "; if (defined $fix_elements[$n + 2]) { $fix_elements[$n + 2] =~ s/^\s+//; |