aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm47xx
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
commit108f9953b7b52acf00c556c0797c977422a5a134 (patch)
treeb21accb902a5f9d206d47515e5a1d3789a6bbdb1 /target/linux/brcm47xx
parentf7bc55d11154adf3fa80594223d1248827b1927e (diff)
downloadupstream-108f9953b7b52acf00c556c0797c977422a5a134.tar.gz
upstream-108f9953b7b52acf00c556c0797c977422a5a134.tar.bz2
upstream-108f9953b7b52acf00c556c0797c977422a5a134.zip
linux/brcm47xx: fix an initialization issue on 2.6.36 kernel
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23392 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm47xx')
-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 0000000000..5661e7f3b3
--- /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));
+