osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ci/+/27203 )
Change subject: lint: checkpatch: show hint about typedefs_osmo.txt ......................................................................
lint: checkpatch: show hint about typedefs_osmo.txt
Change-Id: Icaee700a9cc7896cdbda6cce93db41b6b50a7fa3 --- M lint/checkpatch/checkpatch.pl 1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/03/27203/1
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 @@ } } 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+//;