On Thu, Sep 10, 2015 at 4:29 AM, Bin Meng <bmeng...@gmail.com> 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 <bmeng...@gmail.com>

Acked-by: Joe Hershberger <joe.hershber...@ni.com>
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to