Thread (3 messages) flat view 3 messages, 3 authors, 20d ago

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

From: Linus Walleij <linusw@kernel.org>
Date: 2026-08-27 07:03:30
Also in: linux-arm-kernel, lkml

On Thu, Aug 27, 2026 at 3:36 AM Rosen Penev [off-list ref] 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 <redacted>
Reviewed-by: Linus Walleij <linusw@kernel.org>

Thanks Rosen!
Linus Walleij
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help