aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscripts/checkpatch.pl8
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index 35aecb3b013c..89b1df4e72ab 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -3845,6 +3845,14 @@ sub process {
3845 $ok = 1; 3845 $ok = 1;
3846 } 3846 }
3847 3847
3848 # for asm volatile statements
3849 # ignore a colon with another
3850 # colon immediately before or after
3851 if (($op eq ':') &&
3852 ($ca =~ /:$/ || $cc =~ /^:/)) {
3853 $ok = 1;
3854 }
3855
3848 # messages are ERROR, but ?: are CHK 3856 # messages are ERROR, but ?: are CHK
3849 if ($ok == 0) { 3857 if ($ok == 0) {
3850 my $msg_type = \&ERROR; 3858 my $msg_type = \&ERROR;