[PATCH RESEND][next] mtd: cfi: Fix fall-through warnings for Clang

Vignesh Raghavendra vigneshr at ti.com
Thu Mar 11 11:05:54 GMT 2021



On 3/5/21 1:49 PM, Gustavo A. R. Silva wrote:
> In preparation to enable -Wimplicit-fallthrough for Clang, fix multiple
> warnings by explicitly adding multiple break statements and a return
> instead of letting the code fall through to the next case.
> 
> Link: https://github.com/KSPP/linux/issues/115
> Signed-off-by: Gustavo A. R. Silva <gustavoars at kernel.org>
> ---

Acked-by: Vignesh Raghavendra <vigneshr at ti.com>

Miquel,

Feel free to queue this via mtd/next

Regards
Vignesh

[...]



More information about the linux-mtd mailing list