[U-Boot] NULL base_name for hwaddr env lookup

Stany MARCEL stany.marcel at novasys-ingenierie.com
Mon Sep 5 16:26:36 CEST 2011


On Mon, Sep 5, 2011 at 3:53 PM, stany MARCEL
<stany.marcel at novasys-ingenierie.com> wrote:
> in net/eth.c there is this function call with test:
>
>  if (eth_write_hwaddr(dev, NULL, eth_number))
>
> If I understand correctly this test will always be true as NULL is used.
>
> I think it should be "eth" instead of NULL.
>
> Am I wrong ?
>
> If not I can submit a patch.
>
> Regards,
>
> Stany
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
>

Ok it's corrected by a commit few minutes ago.


More information about the U-Boot mailing list