[U-Boot] NULL base_name for hwaddr env lookup

stany MARCEL stany.marcel at novasys-ingenierie.com
Mon Sep 5 15:53:35 CEST 2011


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


More information about the U-Boot mailing list