Re: [PATCH net] net: ixp4xx_eth: handle probe deferral from of_get_mac_address()

From: Linus Walleij

Date: Thu Aug 27 2026 - 03:05:29 EST


On Thu, Aug 27, 2026 at 3:36 AM Rosen Penev <rosenp@xxxxxxxxx> wrote:

> ixp4xx_of_get_platdata() returns NULL on failure, which the probe converts
> to -ENODEV, discarding the real cause of the failure. Return ERR_PTR()
> with the appropriate error so callers can distinguish cases such as
> missing DT properties (-EINVAL) and, importantly, handle -EPROBE_DEFER
> from of_get_mac_address().
>
> Fixes: 95aafe911db6 ("net: ethernet: ixp4xx: Support device tree probing")
> Assisted-by: opencode:hy3-free
> Signed-off-by: Rosen Penev <rosenp@xxxxxxxxx>

Reviewed-by: Linus Walleij <linusw@xxxxxxxxxx>

Thanks Rosen!
Linus Walleij