aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/checkpatch.pl
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/checkpatch.pl')
-rwxr-xr-xscripts/checkpatch.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index b9e9ee1315b7..0dcfdce632b1 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -1584,9 +1584,9 @@ sub process {
1584 } 1584 }
1585# TEST: allow direct testing of the attribute matcher. 1585# TEST: allow direct testing of the attribute matcher.
1586 if ($dbg_attr) { 1586 if ($dbg_attr) {
1587 if ($line =~ /^.\s*$Attribute\s*$/) { 1587 if ($line =~ /^.\s*$Modifier\s*$/) {
1588 ERROR("TEST: is attr\n" . $herecurr); 1588 ERROR("TEST: is attr\n" . $herecurr);
1589 } elsif ($dbg_attr > 1 && $line =~ /^.+($Attribute)/) { 1589 } elsif ($dbg_attr > 1 && $line =~ /^.+($Modifier)/) {
1590 ERROR("TEST: is not attr ($1 is)\n". $herecurr); 1590 ERROR("TEST: is not attr ($1 is)\n". $herecurr);
1591 } 1591 }
1592 next; 1592 next;