Since commit ed7e211b6786 ("net: stmmac: fix FPE events losing")
adds the fpe_cfg parameter, add it to avoid build errors.

error: too few arguments to function 'priv->hw->mac->fpe_send_mpacket'

Signed-off-by: Xiaolei Wang <[email protected]>
---
 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c 
b/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
index 034ae1dc65ec..859af9117a0f 100644
--- a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
+++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
@@ -958,7 +958,7 @@ static void stmmac_fpe_link_state_handle(struct stmmac_priv 
*priv, bool is_up)
 
        if (is_up) {
                if (*hs_enable)
-                       stmmac_fpe_send_mpacket(priv, priv->ioaddr, 
MPACKET_VERIFY);
+                       stmmac_fpe_send_mpacket(priv, priv->ioaddr, fpe_cfg, 
MPACKET_VERIFY);
        } else {
                *lo_state = FPE_STATE_OFF;
                *lp_state = FPE_STATE_OFF;
-- 
2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13728): 
https://lists.yoctoproject.org/g/linux-yocto/message/13728
Mute This Topic: https://lists.yoctoproject.org/mt/105100744/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to