Skip to content

Commit 43feb00

Browse files
GustavoARSilvagregkh
authored andcommitted
staging: gdm724x: 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 <[email protected]> Link: https://lore.kernel.org/r/20200727190829.GA30332@embeddedor Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 49e86ae commit 43feb00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/staging/gdm724x/gdm_lte.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -784,7 +784,7 @@ static int gdm_lte_receive_pkt(struct phy_dev *phy_dev, char *buf, int len)
784784
return index;
785785
dev = phy_dev->dev[index];
786786
gdm_lte_pdn_table(dev, buf, len);
787-
/* Fall through */
787+
fallthrough;
788788
default:
789789
ret = gdm_lte_event_send(dev, buf, len);
790790
break;

0 commit comments

Comments
 (0)