aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2022-02-15 13:51:09 +0100
committerOliver Smith <osmith@sysmocom.de>2022-02-15 13:51:09 +0100
commitbc9bd3df75c30d2f6588e92258b8d62a0c4aacdb (patch)
tree0e79696ece89cf51a18f88c0a7c7d0de63bd9f29
parentcf1fdbf030d9755b7b8cf5622ebc6719401b5a0d (diff)
lint: checkpatch: show hint about typedefs_osmo.txt
-rwxr-xr-xlint/checkpatch/checkpatch.pl2
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+//;