We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58f0226 commit 263afd3Copy full SHA for 263afd3
scripts/checkpatch.pl
@@ -5044,7 +5044,7 @@ sub process {
5044
# A colon needs no spaces before when it is
5045
# terminating a case value or a label.
5046
} elsif ($opv eq ':C' || $opv eq ':L') {
5047
- if ($ctx =~ /Wx./) {
+ if ($ctx =~ /Wx./ and $realfile !~ m@.*\.lds\.h$@) {
5048
if (ERROR("SPACING",
5049
"space prohibited before that '$op' $at\n" . $hereptr)) {
5050
$good = rtrim($fix_elements[$n]) . trim($fix_elements[$n + 1]);
0 commit comments