Skip to content

Commit ba3fea5

Browse files
i3c: master: cdns: Fix fall-through warning for Clang
In preparation to enable -Wimplicit-fallthrough for Clang, fix a warning by explicitly adding a break statement instead of letting the code fall through to the next case. Link: KSPP#115 Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
1 parent 6ca24c6 commit ba3fea5

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

drivers/i3c/master/i3c-master-cdns.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1379,6 +1379,8 @@ static void cnds_i3c_master_demux_ibis(struct cdns_i3c_master *master)
13791379

13801380
case IBIR_TYPE_MR:
13811381
WARN_ON(IBIR_XFER_BYTES(ibir) || (ibir & IBIR_ERROR));
1382+
break;
1383+
13821384
default:
13831385
break;
13841386
}

0 commit comments

Comments
 (0)