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

From: Andrew Lunn

Date: Tue Apr 28 2026 - 08:41:07 EST


> +++ 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