diff options
Diffstat (limited to 'scripts/checkpatch.pl')
-rwxr-xr-x | scripts/checkpatch.pl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 3961e759a256..bcfb8ef00fee 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl | |||
@@ -721,6 +721,10 @@ sub annotate_values { | |||
721 | print "DECLARE($1)\n" if ($dbg_values > 1); | 721 | print "DECLARE($1)\n" if ($dbg_values > 1); |
722 | $type = 'T'; | 722 | $type = 'T'; |
723 | 723 | ||
724 | } elsif ($cur =~ /^($Modifier)\s*/) { | ||
725 | print "MODIFIER($1)\n" if ($dbg_values > 1); | ||
726 | $type = 'T'; | ||
727 | |||
724 | } elsif ($cur =~ /^(\#\s*define\s*$Ident)(\(?)/o) { | 728 | } elsif ($cur =~ /^(\#\s*define\s*$Ident)(\(?)/o) { |
725 | print "DEFINE($1,$2)\n" if ($dbg_values > 1); | 729 | print "DEFINE($1,$2)\n" if ($dbg_values > 1); |
726 | $av_preprocessor = 1; | 730 | $av_preprocessor = 1; |