]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - scripts/checkpatch.pl
checkpatch: loosen spacing on typedef function checks
[karo-tx-linux.git] / scripts / checkpatch.pl
index 705a0439b39d4ac08adc710ae471192f82471fdb..d80b55a6f89b08ca657984c69001baa12763a076 100755 (executable)
@@ -1618,7 +1618,7 @@ sub process {
 # check for new typedefs, only function parameters and sparse annotations
 # make sense.
                if ($line =~ /\btypedef\s/ &&
-                   $line !~ /\btypedef\s+$Type\s+\(\s*\*?$Ident\s*\)\s*\(/ &&
+                   $line !~ /\btypedef\s+$Type\s*\(\s*\*?$Ident\s*\)\s*\(/ &&
                    $line !~ /\btypedef\s+$Type\s+$Ident\s*\(/ &&
                    $line !~ /\b$typeTypedefs\b/ &&
                    $line !~ /\b__bitwise(?:__|)\b/) {