diff options
author | Heiko Stuebner | 2019-11-29 16:40:42 +0100 |
---|---|---|
committer | Kever Yang | 2019-12-05 23:53:07 +0800 |
commit | d490fadc703c54f61e6ba8f47dfd7a4702ac2293 (patch) | |
tree | d6407874cc737ba1aad10f16c426226e6cdd2b90 /include/universe.h | |
parent | c541bfda2f88ea5afd258c68d7cb7300dc76c98f (diff) |
rockchip: misc: don't fail if eth_addr already set
rockchip_setup_macaddr() runs from an initcall, so returning an error
code will make that initcall fail thus breaking the boot process.
And if an ethernet address is already set this is definitly not a
cause for that, so just return success in that case.
Fixes: 04825384999f ("rockchip: rk3399: derive ethaddr from cpuid");
Signed-off-by: Heiko Stuebner <heiko.stuebner@theobroma-systems.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Diffstat (limited to 'include/universe.h')
0 files changed, 0 insertions, 0 deletions