[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20140722070530.GB28529@lee--X1>
Date: Tue, 22 Jul 2014 08:05:30 +0100
From: Lee Jones <lee.jones@...aro.org>
To: Joe Perches <joe@...ches.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] checkpatch: Fix false positive MISSING_BREAK warnings
with --file
On Mon, 21 Jul 2014, Joe Perches wrote:
> Using --file mode can give false positives with MISSING_BREAK
> fall-through warnings on simple but long multiple consecutive
> case statements.
>
> Look for all lines before a case statement for a switch
> or a statement when using --file mode.
>
> Fix a misspelling of preceded while there.
>
> Signed-off-by: Joe Perches <joe@...ches.com>
> Reported-by: Lee Jones <lee.jones@...aro.org>
Solution works for me.
> total: 0 errors, 0 warnings, 574 lines checked
>
> drivers/mfd/tps80031.c has no obvious style problems and is ready
> for submission.
Acked-by: Lee Jones <lee.jones@...aro.org>
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists