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

Andrew Lunn andrew at lunn.ch
Thu May 7 12:41:46 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

---
pw-bot: cr



More information about the Linux-stm32 mailing list