[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240802154830.7b147f75@kernel.org>
Date: Fri, 2 Aug 2024 15:48:30 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: "Russell King (Oracle)" <linux@...linux.org.uk>
Cc: Serge Semin <fancer.lancer@...il.com>, Alexandre Torgue
<alexandre.torgue@...s.st.com>, Alexei Starovoitov <ast@...nel.org>, Andrew
Halaney <ahalaney@...hat.com>, bpf@...r.kernel.org, Daniel Borkmann
<daniel@...earbox.net>, "David S. Miller" <davem@...emloft.net>, Eric
Dumazet <edumazet@...gle.com>, Jesper Dangaard Brouer <hawk@...nel.org>,
John Fastabend <john.fastabend@...il.com>, Jose Abreu
<joabreu@...opsys.com>, linux-arm-kernel@...ts.infradead.org,
linux-arm-msm@...r.kernel.org, linux-stm32@...md-mailman.stormreply.com,
Maxime Coquelin <mcoquelin.stm32@...il.com>, netdev@...r.kernel.org, Paolo
Abeni <pabeni@...hat.com>, Vinod Koul <vkoul@...nel.org>
Subject: Re: [PATCH RFC v3 0/14] net: stmmac: convert stmmac "pcs" to
phylink
On Fri, 2 Aug 2024 11:45:21 +0100 Russell King (Oracle) wrote:
> Subject: [PATCH RFC v3 0/14] net: stmmac: convert stmmac "pcs" to phylink
we have a build error here inside the tasty layered cake that is the op
handling in this driver (from patch 2 to 13, inclusive):
In file included from drivers/net/ethernet/stmicro/stmmac/common.h:26,
from drivers/net/ethernet/stmicro/stmmac/stmmac.h:20,
from drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c:19:
drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c: In function ‘stmmac_ethtool_set_link_ksettings’:
drivers/net/ethernet/stmicro/stmmac/hwif.h:15:17: error: too many arguments to function ‘priv->hw->mac->pcs_ctrl_ane’
15 | (__priv)->hw->__module->__cname((__arg0), ##__args); \
| ^
drivers/net/ethernet/stmicro/stmmac/hwif.h:485:9: note: in expansion of macro ‘stmmac_do_void_callback’
485 | stmmac_do_void_callback(__priv, mac, pcs_ctrl_ane, __priv, __args)
| ^~~~~~~~~~~~~~~~~~~~~~~
drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c:419:17: note: in expansion of macro ‘stmmac_pcs_ctrl_ane’
419 | stmmac_pcs_ctrl_ane(priv, priv->ioaddr, 1, priv->hw->ps, 0);
| ^~~~~~~~~~~~~~~~~~~
Powered by blists - more mailing lists