From: Ruiqiang Hao <[email protected]> drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c: In function 'otx2_config_hwtstamp': drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:2106:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 2106 | schedule_delayed_work(&pfvf->ptp->synctstamp_work, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2107 | msecs_to_jiffies(500)); | ~~~~~~~~~~~~~~~~~~~~~~ drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:2109:9: note: here 2109 | case HWTSTAMP_TX_ON: | ^~~~
Signed-off-by: Ruiqiang Hao <[email protected]> --- drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c b/drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c index f8c41bd8343a..fc8e97511c76 100644 --- a/drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c +++ b/drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c @@ -2105,7 +2105,7 @@ int otx2_config_hwtstamp(struct net_device *netdev, struct ifreq *ifr) pfvf->flags |= OTX2_FLAG_PTP_ONESTEP_SYNC; schedule_delayed_work(&pfvf->ptp->synctstamp_work, msecs_to_jiffies(500)); - /* fall through */ + fallthrough; case HWTSTAMP_TX_ON: otx2_config_hw_tx_tstamp(pfvf, true); break; -- 2.32.0
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#11516): https://lists.yoctoproject.org/g/linux-yocto/message/11516 Mute This Topic: https://lists.yoctoproject.org/mt/92600573/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
