Re: [PATCHv2 net-next] net: bcmasp: handle EPROBE_DEFER for MAC retrieval

Andrew Lunn
2026-04-28T12:39:59Z

> +++ b/drivers/net/ethernet/broadcom/asp2/bcmasp_intf.c
> @@ -1254,7 +1254,7 @@ struct bcmasp_intf *bcmasp_interface_create(struct bcmasp_priv *priv,
> struct device *dev = &priv->pdev->dev;
> struct bcmasp_intf *intf;
> struct net_device *ndev;
> - int ch, port, ret;
> + int ch, port, ret = -EINVAL;

That breaks the reverse christmas tree. Otherwise this looks O.K.

Andrew

---
pw-bot: cr