Re: [net-next v3 4/5] net: stmmac: starfive: Add jhb100 SGMII interface
From: Minda Chen
Date: Fri May 08 2026 - 05:53:57 EST
>
> > +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.