Re: [PATCH 050/141] RDMA/mlx5: Fix fall-through warnings for Clang

From: Leon Romanovsky
Date: Mon Nov 23 2020 - 03:35:06 EST


On Fri, Nov 20, 2020 at 12:31:49PM -0600, Gustavo A. R. Silva wrote:
> In preparation to enable -Wimplicit-fallthrough for Clang, fix a warning
> by explicitly adding the new pseudo-keyword fallthrough; 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@xxxxxxxxxx>
> ---
> drivers/infiniband/hw/mlx5/qp.c | 1 +
> 1 file changed, 1 insertion(+)
>

Thanks,
Acked-by: Leon Romanovsky <leonro@xxxxxxxxxx>