atm: firestream: Use fallthrough pseudo-keyword
authorWei Ming Chen <jj251510319013@gmail.com>
Fri, 7 May 2021 12:38:43 +0000 (20:38 +0800)
committerJakub Kicinski <kuba@kernel.org>
Fri, 7 May 2021 23:01:08 +0000 (16:01 -0700)
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>
drivers/atm/firestream.c

index 0ddd611..3bc3c31 100644 (file)
@@ -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;