Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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 <gustavoars@kernel.org>
Link: https://lore.kernel.org/r/20200727190829.GA30332@embeddedor
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Gustavo A. R. Silva and committed by
Greg Kroah-Hartman
43feb001 49e86ae1

+1 -1
+1 -1
drivers/staging/gdm724x/gdm_lte.c
··· 784 784 return index; 785 785 dev = phy_dev->dev[index]; 786 786 gdm_lte_pdn_table(dev, buf, len); 787 - /* Fall through */ 787 + fallthrough; 788 788 default: 789 789 ret = gdm_lte_event_send(dev, buf, len); 790 790 break;