mirror of https://gitee.com/openkylin/linux.git
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: https://github.com/KSPP/linux/issues/115 Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
This commit is contained in:
parent
6ca24c6563
commit
ba3fea5472
|
@ -1379,6 +1379,8 @@ static void cnds_i3c_master_demux_ibis(struct cdns_i3c_master *master)
|
|||
|
||||
case IBIR_TYPE_MR:
|
||||
WARN_ON(IBIR_XFER_BYTES(ibir) || (ibir & IBIR_ERROR));
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue