]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
isdn/gigaset/isocdata: mark expected switch fall-through
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Mon, 8 Oct 2018 12:15:39 +0000 (14:15 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Oct 2018 17:54:14 +0000 (10:54 -0700)
Notice that in this particular case, I replaced the
"--v-- fall through --v--" comment with a proper
"fall through", which is what GCC is expecting to
find.

This fix is part of the ongoing efforts to enabling
-Wimplicit-fallthrough

Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/gigaset/isocdata.c

index 97e00118ccfe8ace07e83526651df27926f2f271..f9264ba0fe770b4fdc0ed364c9c94c9fe0b519c0 100644 (file)
@@ -906,7 +906,7 @@ static void cmd_loop(unsigned char *src, int numbytes, struct inbuf_t *inbuf)
                                cs->respdata[0] = 0;
                                break;
                        }
-                       /* --v-- fall through --v-- */
+                       /* fall through */
                case '\r':
                        /* end of message line, pass to response handler */
                        if (cbytes >= MAX_RESP_SIZE) {