[U-Boot] [PATCH 1/2] dm: eth: Test 'ethrotate' before changing current ethernet device

Joe Hershberger joe.hershberger at gmail.com
Tue Dec 22 20:04:42 CET 2015


On Tue, Dec 22, 2015 at 12:43 AM, Bin Meng <bmeng.cn at gmail.com> wrote:
> In eth_current_changed(), the call to eth_get_dev() below has a side
> effect of rotating ethernet device if uc_priv->current == NULL. This
> is not what we want when 'ethrotate' variable is 'no'.
>
> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>

Acked-by: Joe Hershberger <joe.hershberger at ni.com>


More information about the U-Boot mailing list