mt76: mt7921: Fix fall-through warning for Clang
authorGustavo A. R. Silva <gustavoars@kernel.org>
Mon, 12 Jul 2021 05:44:53 +0000 (00:44 -0500)
committerGustavo A. R. Silva <gustavoars@kernel.org>
Mon, 12 Jul 2021 05:44:53 +0000 (00:44 -0500)
commitd5c9d0a207f4c61734ccd4b51818788e8b86296a
tree3a8900aa9c9f7c7b464d28abafd0a3b7c0f9787b
parent5937e00017f1d1dd4551e723ebfa306671f27843
mt76: mt7921: Fix fall-through warning for Clang

In preparation to enable -Wimplicit-fallthrough for Clang, fix the
following warning by explicitly adding a break statement:

drivers/net/wireless/mediatek/mt76/mt7921/main.c:392:2: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]

Link: https://github.com/KSPP/linux/issues/115
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
drivers/net/wireless/mediatek/mt76/mt7921/main.c