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

Simon Glass sjg at chromium.org
Sun Jan 3 21:52:41 CET 2016


On 22 December 2015 at 12:04, Joe Hershberger <joe.hershberger at gmail.com> wrote:
> 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>

Acked-by: Simon Glass <sjg at chromium.org>
Tested on sandbox:
Tested-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list