diff options
author | Rosen Penev <rosenp@gmail.com> | 2024-09-10 15:09:13 -0700 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-09-11 16:03:14 -0700 |
commit | b2d9544070d052804a12a7859aa212e952b96691 (patch) | |
tree | aeca402bfd05ff8e7bb549531fb3a017285f3552 /net | |
parent | cf06766f1525d35542cbb15fe6103caf44840376 (diff) | |
download | lwn-b2d9544070d052804a12a7859aa212e952b96691.tar.gz lwn-b2d9544070d052804a12a7859aa212e952b96691.zip |
net: gianfar: fix NVMEM mac address
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@gmail.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20240910220913.14101-1-rosenp@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions