diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2012-03-27 17:07:28 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2012-03-27 17:07:28 +0000 |
commit | a5abb0810078a982452e4a398cd7b2ccee31c28d (patch) | |
tree | ed5093337bd35fcd845ad498e3691307a277f30f /target/linux/brcm47xx/patches-3.2/197-MIPS-BCM47XX-fix-signature-of-nvram_parse_macaddr.patch | |
parent | ed8902d6868d8be313179ed297a54d76f8672574 (diff) | |
download | mtk-20170518-a5abb0810078a982452e4a398cd7b2ccee31c28d.zip mtk-20170518-a5abb0810078a982452e4a398cd7b2ccee31c28d.tar.gz mtk-20170518-a5abb0810078a982452e4a398cd7b2ccee31c28d.tar.bz2 |
brcm47xx: update sprom patches like they are in the mainline kernel
SVN-Revision: 31093
Diffstat (limited to 'target/linux/brcm47xx/patches-3.2/197-MIPS-BCM47XX-fix-signature-of-nvram_parse_macaddr.patch')
-rw-r--r-- | target/linux/brcm47xx/patches-3.2/197-MIPS-BCM47XX-fix-signature-of-nvram_parse_macaddr.patch | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/target/linux/brcm47xx/patches-3.2/197-MIPS-BCM47XX-fix-signature-of-nvram_parse_macaddr.patch b/target/linux/brcm47xx/patches-3.2/197-MIPS-BCM47XX-fix-signature-of-nvram_parse_macaddr.patch deleted file mode 100644 index ade9bcb..0000000 --- a/target/linux/brcm47xx/patches-3.2/197-MIPS-BCM47XX-fix-signature-of-nvram_parse_macaddr.patch +++ /dev/null @@ -1,23 +0,0 @@ -From c330338212785092aab7a266f24b52c132775463 Mon Sep 17 00:00:00 2001 -From: Hauke Mehrtens <hauke@hauke-m.de> -Date: Sat, 18 Feb 2012 15:00:36 +0100 -Subject: [PATCH 197/202] MIPS: BCM47XX: fix signature of nvram_parse_macaddr - -Explicitly enforce an char array of 6 bytes for the mac address. - -Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> ---- - arch/mips/include/asm/mach-bcm47xx/nvram.h | 2 +- - 1 files changed, 1 insertions(+), 1 deletions(-) - ---- a/arch/mips/include/asm/mach-bcm47xx/nvram.h -+++ b/arch/mips/include/asm/mach-bcm47xx/nvram.h -@@ -37,7 +37,7 @@ struct nvram_header { - - extern int nvram_getenv(char *name, char *val, size_t val_len); - --static inline void nvram_parse_macaddr(char *buf, u8 *macaddr) -+static inline void nvram_parse_macaddr(char *buf, u8 macaddr[6]) - { - if (strchr(buf, ':')) - sscanf(buf, "%hhx:%hhx:%hhx:%hhx:%hhx:%hhx", &macaddr[0], |