[U-Boot] [PATCH 01/14] net: cosmetic: Do not use magic values for ARP_HLEN

Joe Hershberger joe.hershberger at gmail.com
Tue Nov 29 17:37:49 CET 2016


On Fri, Nov 25, 2016 at 9:30 AM, Olliver Schinagl <oliver at schinagl.nl> wrote:
> Commit 674bb249825a ("net: cosmetic: Replace magic numbers in arp.c with
> constants") introduced a nice define to replace the magic value 6 for
> the ethernet hardware address. Replace more hardcoded instances of 6
> which really reference the ARP_HLEN (iow the MAC/Hardware/Ethernet
> address).
>
> Signed-off-by: Olliver Schinagl <oliver at schinagl.nl>

Acked-by: Joe Hershberger <joe.hershberger at ni.com>


More information about the U-Boot mailing list