wcn36xx: Fix fall-through warnings for Clang
authorGustavo A. R. Silva <gustavoars@kernel.org>
Tue, 8 Dec 2020 07:52:57 +0000 (09:52 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 9 Dec 2020 07:01:32 +0000 (09:01 +0200)
commitb6041e1a302006b899e6838609f6ad933c1a815c
tree3e31a44cc399df9521312a65998f5068bcbba5c7
parente2cb11165445eccec877c8cc77bb4e461cf3c561
wcn36xx: Fix fall-through warnings for Clang

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>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/f932c887e013767cbdabfdddd671086e8ae63193.1605896060.git.gustavoars@kernel.org
drivers/net/wireless/ath/wcn36xx/smd.c