[U-Boot] NULL base_name for hwaddr env lookup

Heiko Schocher heiko.schocher at invitel.hu
Mon Sep 5 16:28:21 CEST 2011


Hello MARCEL,

stany MARCEL 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 ?

No.

> If not I can submit a patch.

See fix for this issue here:

http://patchwork.ozlabs.org/patch/112361/

bye,
Heiko


More information about the U-Boot mailing list