Skip to content

Commit 7d18dbd

Browse files
AristoChenkuba-moo
authored andcommitted
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 Signed-off-by: Wei Ming Chen <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 8a7cb24 commit 7d18dbd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/atm/firestream.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -795,6 +795,7 @@ static void process_incoming (struct fs_dev *dev, struct queue *q)
795795
switch (STATUS_CODE (qe)) {
796796
case 0x1:
797797
/* Fall through for streaming mode */
798+
fallthrough;
798799
case 0x2:/* Packet received OK.... */
799800
if (atm_vcc) {
800801
skb = pe->skb;

0 commit comments

Comments
 (0)