1 --- a/arch/mips/include/asm/mach-bcm47xx/nvram.h
2 +++ b/arch/mips/include/asm/mach-bcm47xx/nvram.h
3 @@ -37,7 +37,7 @@ struct nvram_header {
5 extern int nvram_getenv(char *name, char *val, size_t val_len);
7 -static inline void nvram_parse_macaddr(char *buf, u8 *macaddr)
8 +static inline void nvram_parse_macaddr(char *buf, u8 macaddr[6])
11 sscanf(buf, "%hhx:%hhx:%hhx:%hhx:%hhx:%hhx", &macaddr[0],