Skip to contentSkip to conversation

atm: firestream: Use fallthrough pseudo-keyword

PATCH Applied Wei Ming Chen 2 participants 2 messages May 7, 2021

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 atm: firestream: Use fallthrough pseudo-keyword

Add pseudo-keyword macro fallthrough[1]

[1] https://www.kernel.org/doc/html/latest/process/deprecated.html?highlight=fallthrough#implicit-switch-case-fall-through

---
 drivers/atm/firestream.c | 1 +
 1 file changed, 1 insertion(+)
drivers/atm/firestream.c +1 -0
index 0ddd611b4277..3bc3c314a467 100644
@@ -795,6 +795,7 @@ static void process_incoming (struct fs_dev *dev, struct queue *q)
 		switch (STATUS_CODE (qe)) {
 		case 0x1:
 			/* Fall through for streaming mode */
+			fallthrough;
 		case 0x2:/* Packet received OK.... */
 			if (atm_vcc) {
 				skb = pe->skb;
Signature · 1 line
2.25.1
#1 lore raw
This patch was applied to netdev/net.git (refs/heads/master):

Hello:

This patch was applied to netdev/net.git (refs/heads/master):

Quoted 8 lines · On Fri, 7 May 2021 20:38:43 +0800 you wrote:

Add pseudo-keyword macro fallthrough[1]

[1] https://www.kernel.org/doc/html/latest/process/deprecated.html?highlight=fallthrough#implicit-switch-case-fall-through

---
 drivers/atm/firestream.c | 1 +
 1 file changed, 1 insertion(+)

Here is the summary with links:
- atm: firestream: Use fallthrough pseudo-keyword

    https://git.kernel.org/netdev/net/c/7d18dbddb727

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html