Skip to content

Commit 272a661

Browse files
GustavoARSilvadavem330
authored andcommitted
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 3f2122b commit 272a661

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/isdn/gigaset/ev-layer.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1036,7 +1036,7 @@ static void handle_icall(struct cardstate *cs, struct bc_state *bcs,
10361036
break;
10371037
default:
10381038
dev_err(cs->dev, "internal error: disposition=%d\n", retval);
1039-
/* --v-- fall through --v-- */
1039+
/* fall through */
10401040
case ICALL_IGNORE:
10411041
case ICALL_REJECT:
10421042
/* hang up actively
@@ -1319,7 +1319,7 @@ static void do_action(int action, struct cardstate *cs,
13191319
cs->commands_pending = 1;
13201320
break;
13211321
}
1322-
/* bad cid: fall through */
1322+
/* fall through - bad cid */
13231323
case ACT_FAILCID:
13241324
cs->cur_at_seq = SEQ_NONE;
13251325
channel = cs->curchannel;

0 commit comments

Comments
 (0)