Messages in this thread | | | Date | Tue, 22 Jul 2014 08:05:30 +0100 | From | Lee Jones <> | 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@perches.com> > Reported-by: Lee Jones <lee.jones@linaro.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@linaro.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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |