aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/checkpatch.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index 705a0439b39d..d80b55a6f89b 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -1618,7 +1618,7 @@ sub process {
1618# check for new typedefs, only function parameters and sparse annotations 1618# check for new typedefs, only function parameters and sparse annotations
1619# make sense. 1619# make sense.
1620 if ($line =~ /\btypedef\s/ && 1620 if ($line =~ /\btypedef\s/ &&
1621 $line !~ /\btypedef\s+$Type\s+\(\s*\*?$Ident\s*\)\s*\(/ && 1621 $line !~ /\btypedef\s+$Type\s*\(\s*\*?$Ident\s*\)\s*\(/ &&
1622 $line !~ /\btypedef\s+$Type\s+$Ident\s*\(/ && 1622 $line !~ /\btypedef\s+$Type\s+$Ident\s*\(/ &&
1623 $line !~ /\b$typeTypedefs\b/ && 1623 $line !~ /\b$typeTypedefs\b/ &&
1624 $line !~ /\b__bitwise(?:__|)\b/) { 1624 $line !~ /\b__bitwise(?:__|)\b/) {