isdn/gigaset/isocdata: mark expected switch fall-through
Subsystems (2)
PATCH 1/1 isdn/gigaset/isocdata: mark expected switch fall-through
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 <[email protected]>
--- drivers/isdn/gigaset/isocdata.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/isdn/gigaset/isocdata.c +1 -1
@@ -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 ) {
Signature · 1 line
2.7.4
From: "Gustavo A. R. Silva" <[email protected]>
Date: Mon, 8 Oct 2018 14:15:39 +0200
Quoted 9 lines
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 <[email protected]>
Applied to net-next.