From: Anton Blanchard <anton@samba.org>
To: Jesse Barnes <jbarnes@engr.sgi.com>
Cc: paulus@samba.org, akpm@osdl.org, linux-kernel@vger.kernel.org
Subject: [PATCH] [ppc64] Remove -Wno-uninitialized
Date: Sat, 11 Sep 2004 14:33:03 +1000 [thread overview]
Message-ID: <20040911043303.GB6005@krispykreme> (raw)
In-Reply-To: <200409101520.12653.jbarnes@engr.sgi.com>
> 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)
next prev parent reply other threads:[~2004-09-11 4:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-10 22:20 [PATCH] fix uninitialized warnings in mempolicy.c Jesse Barnes
2004-09-11 4:33 ` Anton Blanchard [this message]
2004-09-11 5:20 ` [PATCH] [ppc32] Remove -Wno-uninitialized Anton Blanchard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040911043303.GB6005@krispykreme \
--to=anton@samba.org \
--cc=akpm@osdl.org \
--cc=jbarnes@engr.sgi.com \
--cc=linux-kernel@vger.kernel.org \
--cc=paulus@samba.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox