mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-15 01:17:39 +00:00
0736f7aa3b
eth_get_dev relies on the broken behavior that returns an error but not the device on which the error happened which gives the caller no reasonable way to report or handle the error. In a later patch uclass_first_device_err will be changed to return the device on error but eth_get_dev stores the returned device pointer directly in a global state without checking the return value. Unset the pointer again in the error case. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org> |
||
---|---|---|
.. | ||
arp.c | ||
arp.h | ||
bootp.c | ||
bootp.h | ||
cdp.c | ||
cdp.h | ||
dns.c | ||
dns.h | ||
dsa-uclass.c | ||
eth-uclass.c | ||
eth_bootdev.c | ||
eth_common.c | ||
eth_internal.h | ||
eth_legacy.c | ||
fastboot.c | ||
Kconfig | ||
link_local.c | ||
link_local.h | ||
Makefile | ||
mdio-mux-uclass.c | ||
mdio-uclass.c | ||
net.c | ||
net_rand.h | ||
nfs.c | ||
nfs.h | ||
pcap.c | ||
ping.c | ||
ping.h | ||
rarp.c | ||
rarp.h | ||
sntp.c | ||
tftp.c | ||
udp.c | ||
wol.c | ||
wol.h |