From dea32c53f1428c120a87819e68d5c18b89e95bb4 Mon Sep 17 00:00:00 2001 From: acoul Date: Mon, 11 Oct 2010 12:37:16 +0000 Subject: 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 --- target/linux/brcm47xx/patches-2.6.36/921-bootargs_fix.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 target/linux/brcm47xx/patches-2.6.36/921-bootargs_fix.patch (limited to 'target/linux/brcm47xx/patches-2.6.36') 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 000000000..5661e7f3b --- /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)); + -- cgit v1.2.3