Re: [PATCHv2 net-next] net: gianfar: fix NVMEM mac address

From: Simon Horman
Date: Wed Sep 11 2024 - 10:31:01 EST


On Tue, Sep 10, 2024 at 03:09:13PM -0700, Rosen Penev wrote:
> If nvmem loads after the ethernet driver, mac address assignments will
> not take effect. of_get_ethdev_address returns EPROBE_DEFER in such a
> case so we need to handle that to avoid eth_hw_addr_random.
>
> Signed-off-by: Rosen Penev <rosenp@xxxxxxxxx>
> v2: use goto instead of return

Thanks for the update.

Reviewed-by: Simon Horman <horms@xxxxxxxxxx>

...