Re: [PATCH 091/141] iwlwifi: iwl-drv: Fix fall-through warnings for Clang

From: Kalle Valo
Date: Fri Dec 11 2020 - 13:24:26 EST


"Gustavo A. R. Silva" <gustavoars@xxxxxxxxxx> wrote:

> In preparation to enable -Wimplicit-fallthrough for Clang, fix a
> warning by replacing a /* fall through */ comment with the new
> pseudo-keyword macro fallthrough; instead of letting the code fall
> through to the next case.
>
> Notice that Clang doesn't recognize /* fall through */ comments as
> implicit fall-through markings.
>
> Link: https://github.com/KSPP/linux/issues/115
> Signed-off-by: Gustavo A. R. Silva <gustavoars@xxxxxxxxxx>

Patch applied to wireless-drivers-next.git, thanks.

10a0472d1850 iwlwifi: iwl-drv: Fix fall-through warnings for Clang

--
https://patchwork.kernel.org/project/linux-wireless/patch/edd98d194bfc98b4be93a9bdc303630b719c0e66.1605896060.git.gustavoars@xxxxxxxxxx/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches