summaryrefslogtreecommitdiffstats
path: root/drivers/atm/firestream.c
diff options
context:
space:
mode:
authorWei Ming Chen <jj251510319013@gmail.com>2021-05-07 14:38:43 +0200
committerJakub Kicinski <kuba@kernel.org>2021-05-08 01:01:08 +0200
commit7d18dbddb727f8268140ab76d3954b974a21657c (patch)
tree52f6ccc5fa241a9634ea6a53a1729aa85f164e04 /drivers/atm/firestream.c
parentnet: stmmac: Do not enable RX FIFO overflow interrupts (diff)
downloadlinux-7d18dbddb727f8268140ab76d3954b974a21657c.tar.xz
linux-7d18dbddb727f8268140ab76d3954b974a21657c.zip
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 <jj251510319013@gmail.com> Link: https://lore.kernel.org/r/20210507123843.10602-1-jj251510319013@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to '')
-rw-r--r--drivers/atm/firestream.c1
1 files changed, 1 insertions, 0 deletions
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;