Re: [PATCH 091/141] iwlwifi: iwl-drv: Fix fall-through warnings for Clang
From: Kalle Valo <hidden>
Date: 2020-12-11 19:58:53
Also in:
linux-hardening, linux-wireless, lkml
From: Kalle Valo <hidden>
Date: 2020-12-11 19:58:53
Also in:
linux-hardening, linux-wireless, lkml
"Gustavo A. R. Silva" [off-list ref] 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@kernel.org>
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@kernel.org/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches