summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRobert P. J. Day <rpjday@crashcourse.ca>2016-09-07 14:27:59 -0400
committerTom Rini <trini@konsulko.com>2016-10-06 20:57:40 -0400
commitfc0b5948e0c15a3aebbe1f409665af30b3ae5ba3 (patch)
treec3754b8f4956c78f221869d1866ba8383951ff97 /scripts
parent81049ba8f43618a85867d88bb612fb5106f41dad (diff)
downloadu-boot-fc0b5948e0c15a3aebbe1f409665af30b3ae5ba3.tar.gz
Various, accumulated typos collected from around the tree.
Fix various misspellings of: * deprecated * partition * preceding,preceded * preparation * its versus it's * export * existing * scenario * redundant * remaining * value * architecture Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Reviewed-by: Jagan Teki <jteki@openedev.com> Reviewed-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/checkpatch.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index 24831b3166..84f57566fd 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -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);
}
}