mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-10 07:00:48 +00:00
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>
This commit is contained in:
parent
3f2122bbb2
commit
272a66173b
@ -1036,7 +1036,7 @@ static void handle_icall(struct cardstate *cs, struct bc_state *bcs,
|
|||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
dev_err(cs->dev, "internal error: disposition=%d\n", retval);
|
dev_err(cs->dev, "internal error: disposition=%d\n", retval);
|
||||||
/* --v-- fall through --v-- */
|
/* fall through */
|
||||||
case ICALL_IGNORE:
|
case ICALL_IGNORE:
|
||||||
case ICALL_REJECT:
|
case ICALL_REJECT:
|
||||||
/* hang up actively
|
/* hang up actively
|
||||||
@ -1319,7 +1319,7 @@ static void do_action(int action, struct cardstate *cs,
|
|||||||
cs->commands_pending = 1;
|
cs->commands_pending = 1;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
/* bad cid: fall through */
|
/* fall through - bad cid */
|
||||||
case ACT_FAILCID:
|
case ACT_FAILCID:
|
||||||
cs->cur_at_seq = SEQ_NONE;
|
cs->cur_at_seq = SEQ_NONE;
|
||||||
channel = cs->curchannel;
|
channel = cs->curchannel;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user