[U-Boot] [PATCH v3 4/9] dm: eth: Correctly detect alias in eth_get_dev_by_name()

Simon Glass sjg at chromium.org
Tue Sep 1 02:32:07 CEST 2015


On 27 August 2015 at 23:25, Bin Meng <bmeng.cn at gmail.com> wrote:
> When given a device name string, we should test to see if it is
> really an alias like "eth#".
>
> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
> Acked-by: Joe Hershberger <joe.hershberger at ni.com>
>
> ---
>
> Changes in v3: None
> Changes in v2:
> - Change to use strncmp()
>
>  net/eth.c | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)

Applied to u-boot-x86, thanks!


More information about the U-Boot mailing list