]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - common/fdt_support.c
net: cosmetic: Do not use magic values for ARP_HLEN
[people/ms/u-boot.git] / common / fdt_support.c
index c9f7019e38e8de1469f506cdd57353fd27d8e134..f16039114aba21bd4baf157e61a5f848332ceeb4 100644 (file)
@@ -473,7 +473,7 @@ void fdt_fixup_ethernet(void *fdt)
        char *tmp, *end;
        char mac[16];
        const char *path;
-       unsigned char mac_addr[6];
+       unsigned char mac_addr[ARP_HLEN];
        int offset;
 
        if (fdt_path_offset(fdt, "/aliases") < 0)