]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - scripts/checkpatch.pl
checkpatch: typeof may have more complex arguments
[karo-tx-linux.git] / scripts / checkpatch.pl
index 497416c8360be6ee8381ad8864272d35e9d804da..eb4b55940c0ea0aab54a1dbd860797ddc816a169 100755 (executable)
@@ -315,7 +315,7 @@ sub build_types {
        $NonptrType     = qr{
                        (?:$Modifier\s+|const\s+)*
                        (?:
-                               (?:typeof|__typeof__)\s*\(\s*\**\s*$Ident\s*\)|
+                               (?:typeof|__typeof__)\s*\([^\)]*\)|
                                (?:$typeTypedefs\b)|
                                (?:${all}\b)
                        )