summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWei Ming Chen <jj251510319013@gmail.com>2021-05-07 20:38:43 +0800
committerJakub Kicinski <kuba@kernel.org>2021-05-07 16:01:08 -0700
commit7d18dbddb727f8268140ab76d3954b974a21657c (patch)
tree52f6ccc5fa241a9634ea6a53a1729aa85f164e04
parent8a7cb245cf28cb3e541e0d6c8624b95d079e155b (diff)
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>
-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;