1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-19 11:14:59 +02:00
openwrt-xburst/target/linux/brcm47xx/patches-2.6.36/921-bootargs_fix.patch
acoul dea32c53f1 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
2010-10-11 12:37:16 +00:00

12 lines
305 B
Diff

--- 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));