[PATCH net] net: ixp4xx_eth: handle probe deferral from of_get_mac_address()
Linus Walleij
linusw at kernel.org
Thu Aug 27 00:03:06 PDT 2026
On Thu, Aug 27, 2026 at 3:36 AM Rosen Penev <rosenp at gmail.com> 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 at gmail.com>
Reviewed-by: Linus Walleij <linusw at kernel.org>
Thanks Rosen!
Linus Walleij
More information about the linux-arm-kernel
mailing list