[Linux-stm32] [net-next v3 4/5] net: stmmac: starfive: Add jhb100 SGMII interface

Minda Chen minda.chen at starfivetech.com
Fri May 8 09:35:53 UTC 2026



> 
> > +static int stmmac_starfive_sgmii_set_clk_rate(void *bsp_priv, struct clk
> *clk_tx_i,
> > +					      phy_interface_t __maybe_unused interface,
> > +					      int speed)
> > +{
> > +	struct starfive_dwmac *dwmac = (void *)bsp_priv;
> 
> Why (void *) when it is already a void *?
> 
>     Andrew
> 
Okay, Thanks.



More information about the Linux-stm32 mailing list