On Wed, Oct 7, 2015 at 11:45 PM, Bin Meng <[email protected]> wrote: > 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: Bin Meng <[email protected]> > Acked-by: Joe Hershberger <[email protected]>
Applied to u-boot-net/master, thanks! -Joe _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

