linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] atm: firestream: Use fallthrough pseudo-keyword
@ 2021-05-07 12:38 Wei Ming Chen
  2021-05-07 23:10 ` patchwork-bot+netdevbpf
  0 siblings, 1 reply; 2+ messages in thread
From: Wei Ming Chen @ 2021-05-07 12:38 UTC (permalink / raw)
  To: linux-kernel; +Cc: 3chas3, netdev, Wei Ming Chen

Add pseudo-keyword macro fallthrough[1]

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

Signed-off-by: Wei Ming Chen <jj251510319013@gmail.com>
---
 drivers/atm/firestream.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/atm/firestream.c b/drivers/atm/firestream.c
index 0ddd611b4277..3bc3c314a467 100644
--- a/drivers/atm/firestream.c
+++ b/drivers/atm/firestream.c
@@ -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;
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] atm: firestream: Use fallthrough pseudo-keyword
  2021-05-07 12:38 [PATCH] atm: firestream: Use fallthrough pseudo-keyword Wei Ming Chen
@ 2021-05-07 23:10 ` patchwork-bot+netdevbpf
  0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2021-05-07 23:10 UTC (permalink / raw)
  To: Wei Ming Chen; +Cc: linux-kernel, 3chas3, netdev

Hello:

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

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
> 
> Signed-off-by: Wei Ming Chen <jj251510319013@gmail.com>
> ---
>  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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-05-07 23:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-07 12:38 [PATCH] atm: firestream: Use fallthrough pseudo-keyword Wei Ming Chen
2021-05-07 23:10 ` patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).