diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2018-10-08 14:40:46 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-10-08 20:35:53 +0300 |
commit | 272a66173bbc300abbb10d013fd80bb7ba6f43f0 (patch) | |
tree | 28be13786f60f1f2e913271e37e690a014c5791d /drivers/isdn | |
parent | 3f2122bbb2dfbb5a75b3cd3fdd0e0f9423187cc7 (diff) | |
download | linux-272a66173bbc300abbb10d013fd80bb7ba6f43f0.tar.xz |
isdn/gigaset: mark expected switch fall-throughs
Replace "--v-- fall through --v--" with a proper "fall through"
annotation. Also, change "bad cid: fall through" to
"fall through - bad cid".
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>
Diffstat (limited to 'drivers/isdn')
-rw-r--r-- | drivers/isdn/gigaset/ev-layer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/isdn/gigaset/ev-layer.c b/drivers/isdn/gigaset/ev-layer.c index 1cfcea62aed9..182826e9d07c 100644 --- a/drivers/isdn/gigaset/ev-layer.c +++ b/drivers/isdn/gigaset/ev-layer.c @@ -1036,7 +1036,7 @@ static void handle_icall(struct cardstate *cs, struct bc_state *bcs, break; default: dev_err(cs->dev, "internal error: disposition=%d\n", retval); - /* --v-- fall through --v-- */ + /* fall through */ case ICALL_IGNORE: case ICALL_REJECT: /* hang up actively @@ -1319,7 +1319,7 @@ static void do_action(int action, struct cardstate *cs, cs->commands_pending = 1; break; } - /* bad cid: fall through */ + /* fall through - bad cid */ case ACT_FAILCID: cs->cur_at_seq = SEQ_NONE; channel = cs->curchannel; |