Thread (5 messages) 5 messages, 4 authors, 2020-08-18

Re: [PATCH][next] ath11k: Use fallthrough pseudo-keyword

From: Joe Perches <joe@perches.com>
Date: 2020-07-27 19:44:32
Also in: ath11k, linux-wireless, lkml

On Mon, 2020-07-27 at 14:44 -0500, Gustavo A. R. Silva wrote:
Replace the existing /* fall through */ comments and its variants with
the new pseudo-keyword macro fallthrough[1]. Also, remove unnecessary
fall-through markings when it is the case.
[]
quoted hunk ↗ jump to hunk
diff --git a/drivers/net/wireless/ath/ath11k/dp.c b/drivers/net/wireless/ath/ath11k/dp.c
[]
quoted hunk ↗ jump to hunk
@@ -159,7 +159,7 @@ int ath11k_dp_srng_setup(struct ath11k_base *ab, struct dp_srng *ring,
 			break;
 		}
 		/* follow through when ring_num >= 3 */
-		/* fall through */
+		fallthrough;
Likely the /* follow through ... */ comment can be deleted too

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help