]> git.sur5r.net Git - u-boot/blobdiff - scripts/checkpatch.pl
Merge git://git.denx.de/u-boot-mpc85xx
[u-boot] / scripts / checkpatch.pl
index 24831b3166e2821b5a59b674d1383524ee23cbc6..84f57566fda65fe7867456180ca3de4647317416 100755 (executable)
@@ -4263,7 +4263,7 @@ sub process {
                        }
                }
 
-# check for case / default statements not preceeded by break/fallthrough/switch
+# check for case / default statements not preceded by break/fallthrough/switch
                if ($line =~ /^.\s*(?:case\s+(?:$Ident|$Constant)\s*|default):/) {
                        my $has_break = 0;
                        my $has_statement = 0;
@@ -4284,7 +4284,7 @@ sub process {
                        }
                        if (!$has_break && $has_statement) {
                                WARN("MISSING_BREAK",
-                                    "Possible switch case/default not preceeded by break or fallthrough comment\n" . $herecurr);
+                                    "Possible switch case/default not preceded by break or fallthrough comment\n" . $herecurr);
                        }
                }