OSDN Git Service

checkpatch: fix another left brace warning
[uclinux-h8/linux.git] / scripts / checkpatch.pl
index b7f44b2..c64e604 100755 (executable)
@@ -4132,7 +4132,7 @@ sub process {
 ##             }
 
 #need space before brace following if, while, etc
-               if (($line =~ /\(.*\)\{/ && $line !~ /\($Type\){/) ||
+               if (($line =~ /\(.*\)\{/ && $line !~ /\($Type\)\{/) ||
                    $line =~ /do\{/) {
                        if (ERROR("SPACING",
                                  "space required before the open brace '{'\n" . $herecurr) &&