osmith has uploaded this change for review.

View Change

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+//;

To view, visit change 27203. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: Icaee700a9cc7896cdbda6cce93db41b6b50a7fa3
Gerrit-Change-Number: 27203
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith@sysmocom.de>
Gerrit-MessageType: newchange