浏览代码

linux/brcm47xx: fix an initialization issue on 2.6.36 kernel

SVN-Revision: 23392
Alexandros C. Couloumbis 15 年之前
父节点
当前提交
9cb3333c0d
共有 1 个文件被更改,包括 11 次插入0 次删除
  1. 11 0
      target/linux/brcm47xx/patches-2.6.36/921-bootargs_fix.patch

+ 11 - 0
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));
+