Skip to content
Snippets Groups Projects
Forked from Reform / reform-boundary-uboot
Loading
user avatar
Bin Meng authored
eth_get_dev() can return NULL which means device_probe() fails for
that ethernet device. Add return value check in various places or
U-Boot will crash due to NULL pointer access.

With this commit, 'dm_test_eth_act' test case passes.

Signed-off-by: default avatarBin Meng <bmeng.cn@gmail.com>
Acked-by: default avatarJoe Hershberger <joe.hershberger@ni.com>
ac1d3138
History
Name Last commit Last update