diff options
author | Gustavo A. R. Silva <gustavoars@kernel.org> | 2020-08-21 01:52:04 -0500 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2020-08-27 13:20:26 +0300 |
commit | 6df74f61e9a261883eccfa3b974e74fa18bc9dd9 (patch) | |
tree | b4ad04dd2131bb375dd8687f088f847547952de9 /drivers/net/wireless/ath/carl9170/rx.c | |
parent | ath11k: return -ENOMEM on allocation failure (diff) | |
download | linux-dev-6df74f61e9a261883eccfa3b974e74fa18bc9dd9.tar.xz linux-dev-6df74f61e9a261883eccfa3b974e74fa18bc9dd9.zip |
carl9170: Use fallthrough pseudo-keyword
Replace the existing /* fall through */ comments and its variants with
the new pseudo-keyword macro fallthrough[1].
[1] https://www.kernel.org/doc/html/v5.7/process/deprecated.html?highlight=fallthrough#implicit-switch-case-fall-through
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Acked-by: Christian Lamparter <chunkeey@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200821065204.GA24827@embeddedor
Diffstat (limited to 'drivers/net/wireless/ath/carl9170/rx.c')
-rw-r--r-- | drivers/net/wireless/ath/carl9170/rx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/carl9170/rx.c b/drivers/net/wireless/ath/carl9170/rx.c index 23ab8a80c18c..908c4c8b7f82 100644 --- a/drivers/net/wireless/ath/carl9170/rx.c +++ b/drivers/net/wireless/ath/carl9170/rx.c @@ -766,7 +766,7 @@ static void carl9170_rx_untie_data(struct ar9170 *ar, u8 *buf, int len) goto drop; } - /* fall through */ + fallthrough; case AR9170_RX_STATUS_MPDU_MIDDLE: /* These are just data + mac status */ |