From: Ruiqiang Hao <ruiqiang....@windriver.com> drivers/soc/marvell/octeontx2-sdp/sdp.c: In function 'handle_vf_req': drivers/soc/marvell/octeontx2-sdp/sdp.c:369:45: warning: this statement may fall through [-Wimplicit-fallthrough=] 369 | for (chan_idx = 0; chan_idx < chan_cnt; chan_idx++) { | ~~~~~~~~~^~~~~~~~~~ drivers/soc/marvell/octeontx2-sdp/sdp.c:384:9: note: here 384 | default: | ^~~~~~~
Signed-off-by: Ruiqiang Hao <ruiqiang....@windriver.com> --- drivers/soc/marvell/octeontx2-sdp/sdp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/soc/marvell/octeontx2-sdp/sdp.c b/drivers/soc/marvell/octeontx2-sdp/sdp.c index 84137177a3e3..5e860c5a151f 100644 --- a/drivers/soc/marvell/octeontx2-sdp/sdp.c +++ b/drivers/soc/marvell/octeontx2-sdp/sdp.c @@ -380,7 +380,7 @@ handle_vf_req(struct sdp_dev *sdp, struct rvu_vf *vf, struct mbox_msghdr *req, writeq(en_bp, sdp->sdp_base + SDPX_OUT_BP_ENX_W1S(reg_off)); } - /* Fall through */ + fallthrough; default: err = forward_to_mbox(sdp, &sdp->afpf_mbox, 0, req, size, "AF"); break; -- 2.32.0
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#11515): https://lists.yoctoproject.org/g/linux-yocto/message/11515 Mute This Topic: https://lists.yoctoproject.org/mt/92600570/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-