aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/checkpatch.pl
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/checkpatch.pl')
-rwxr-xr-xscripts/checkpatch.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index 36d6851f97d0..ddd27d8e6312 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -859,7 +859,7 @@ sub annotate_values {
859 $av_preprocessor = 0; 859 $av_preprocessor = 0;
860 } 860 }
861 861
862 } elsif ($cur =~ /^(\(\s*$Type\s*)\)/) { 862 } elsif ($cur =~ /^(\(\s*$Type\s*)\)/ && $av_pending eq '_') {
863 print "CAST($1)\n" if ($dbg_values > 1); 863 print "CAST($1)\n" if ($dbg_values > 1);
864 push(@av_paren_type, $type); 864 push(@av_paren_type, $type);
865 $type = 'C'; 865 $type = 'C';