isdn: mark expected switch fall-throughs
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Warning level 2 was used: -Wimplicit-fallthrough=2 Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Šī revīzija ir iekļauta:

revīziju iesūtīja
David S. Miller

vecāks
03fc5d4ffb
revīzija
d287c50243
@@ -1296,6 +1296,7 @@ mode_hfcpci(struct bchannel *bch, int bc, int protocol)
|
||||
case (-1): /* used for init */
|
||||
bch->state = -1;
|
||||
bch->nr = bc;
|
||||
/* fall through */
|
||||
case (ISDN_P_NONE):
|
||||
if (bch->state == ISDN_P_NONE)
|
||||
return 0;
|
||||
|
Atsaukties uz šo jaunā problēmā
Block a user