[PATCH] [ppc64] Remove -Wno-uninitialized

From: Anton Blanchard
Date: Fri Sep 10 2004 - 23:38:33 EST



> Sorry if you already got these fixes, but err may be used uninitialized in
> mempolicy.c in both compat_set_mempolicy and compat_mbind. This patch fixes
> that by setting them both to 0.

Thanks Jesse, I wonder why I missed this. Yuck, that would explain it.

Andrew: A follow up patch fixing a bunch of ppc64 warnings is on the way.

Anton

===== arch/ppc64/Makefile 1.47 vs edited =====
--- 1.47/arch/ppc64/Makefile Mon Aug 23 06:24:25 2004
+++ edited/arch/ppc64/Makefile Sat Sep 11 14:30:01 2004
@@ -26,8 +26,7 @@

LDFLAGS := -m elf64ppc
LDFLAGS_vmlinux := -Bstatic -e $(KERNELLOAD) -Ttext $(KERNELLOAD)
-CFLAGS += -msoft-float -pipe -Wno-uninitialized -mminimal-toc \
- -mtraceback=none
+CFLAGS += -msoft-float -pipe -mminimal-toc -mtraceback=none

ifeq ($(CONFIG_POWER4_ONLY),y)
CFLAGS += $(call cc-option,-mcpu=power4)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/