Root/
| 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 { |
| 4 | |
| 5 | extern int nvram_getenv(char *name, char *val, size_t val_len); |
| 6 | |
| 7 | -static inline void nvram_parse_macaddr(char *buf, u8 *macaddr) |
| 8 | +static inline void nvram_parse_macaddr(char *buf, u8 macaddr[6]) |
| 9 | { |
| 10 | if (strchr(buf, ':')) |
| 11 | sscanf(buf, "%hhx:%hhx:%hhx:%hhx:%hhx:%hhx", &macaddr[0], |
| 12 |
