summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorAlexandros C. Couloumbis <alex@ozo.com>2010-10-11 12:37:16 +0000
committerAlexandros C. Couloumbis <alex@ozo.com>2010-10-11 12:37:16 +0000
commit9cb3333c0ddbe1d559255d430b2b6c855eee998e (patch)
tree533235c0826d4098391249b1176acac1235bc13b /target
parentfad16eb73611ed49a8165c3539c5c27ca9f57ecc (diff)
downloadmtk-20170518-9cb3333c0ddbe1d559255d430b2b6c855eee998e.zip
mtk-20170518-9cb3333c0ddbe1d559255d430b2b6c855eee998e.tar.gz
mtk-20170518-9cb3333c0ddbe1d559255d430b2b6c855eee998e.tar.bz2
linux/brcm47xx: fix an initialization issue on 2.6.36 kernel
SVN-Revision: 23392
Diffstat (limited to 'target')
-rw-r--r--target/linux/brcm47xx/patches-2.6.36/921-bootargs_fix.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/brcm47xx/patches-2.6.36/921-bootargs_fix.patch b/target/linux/brcm47xx/patches-2.6.36/921-bootargs_fix.patch
new file mode 100644
index 0000000..5661e7f
--- /dev/null
+++ b/target/linux/brcm47xx/patches-2.6.36/921-bootargs_fix.patch
@@ -0,0 +1,11 @@
+--- a/arch/mips/bcm47xx/setup.c
++++ b/arch/mips/bcm47xx/setup.c
+@@ -84,7 +84,7 @@ static void str2eaddr(char *str, char *d
+ static void bcm47xx_fill_sprom(struct ssb_sprom *sprom)
+ {
+ char buf[100];
+- u32 boardflags;
++ u32 uninitialized_var(boardflags);
+
+ memset(sprom, 0, sizeof(struct ssb_sprom));
+