lkml.org 
[lkml]   [2014]   [Jan]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] [trivial] scripts: Fix comment and message typo in checkpatch.pl
From
Date
On Mon, 2014-01-13 at 02:23 +0900, Masanari Iida wrote:
> This patch corrected a spelling typo in comment
> and messages in checkpatch.pl.
[]
> diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
[]
> @@ -4218,7 +4218,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;
> @@ -4239,7 +4239,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);
> }
> }

Thanks.



\
 
 \ /
  Last update: 2014-01-12 19:21    [W:0.043 / U:2.272 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site