From: Ingo Molnar <mingo@elte.hu>
To: Jaswinder Singh Rajput <jaswinder@kernel.org>
Cc: x86 maintainers <x86@kernel.org>, Sam Ravnborg <sam@ravnborg.org>,
Andrew Morton <akpm@linux-foundation.org>,
LKML <linux-kernel@vger.kernel.org>
Subject: Re: [git-pull -tip] Add -Werror to arch/x86/ files only and fix warnings
Date: Wed, 15 Apr 2009 13:13:55 +0200 [thread overview]
Message-ID: <20090415111355.GB27727@elte.hu> (raw)
In-Reply-To: <1239793458.7653.12.camel@ht.satnam>
* Jaswinder Singh Rajput <jaswinder@kernel.org> wrote:
> Hello Ingo,
>
> As per your suggestion, I added -Werror for x86/files only and
> fix all remaining warnings on 32-bit and 64-bit defconfig and
> allnoconfig.
>
> Here is pull request:
> The following changes since commit 3965887240cb092f0d568b53165da6a215c7937a:
> Ingo Molnar (1):
> Merge branch 'linus'
>
> are available in the git repository at:
>
> git://git.kernel.org/pub/scm/linux/kernel/git/jaswinder/linux-2.6-tip.git master
>
> Jaswinder Singh Rajput (2):
> x86: Adding -Werror to arch/x86/ files only
> x86: k8.h convert node_to_k8_nb_misc() from a macro to an inline function
>
> arch/x86/boot/Makefile | 3 +++
> arch/x86/boot/compressed/Makefile | 3 +++
> arch/x86/crypto/Makefile | 3 +++
> arch/x86/ia32/Makefile | 3 +++
> arch/x86/include/asm/k8.h | 11 ++++++++---
> arch/x86/kernel/Makefile | 3 +++
> arch/x86/kernel/acpi/Makefile | 3 +++
> arch/x86/kernel/acpi/realmode/Makefile | 3 +++
> arch/x86/kernel/apic/Makefile | 3 +++
> arch/x86/kernel/cpu/Makefile | 3 +++
> arch/x86/kernel/cpu/cpufreq/Makefile | 3 +++
> arch/x86/kernel/cpu/mcheck/Makefile | 3 +++
> arch/x86/kernel/cpu/mtrr/Makefile | 3 +++
> arch/x86/kvm/Makefile | 3 +++
> arch/x86/lguest/Makefile | 3 +++
> arch/x86/lib/Makefile | 3 +++
> arch/x86/math-emu/Makefile | 3 +++
> arch/x86/mm/Makefile | 3 +++
> arch/x86/mm/kmemcheck/Makefile | 3 +++
> arch/x86/oprofile/Makefile | 3 +++
> arch/x86/pci/Makefile | 3 +++
> arch/x86/power/Makefile | 3 +++
> arch/x86/vdso/Makefile | 4 +++-
> arch/x86/video/Makefile | 3 +++
> arch/x86/xen/Makefile | 5 ++++-
> 25 files changed, 81 insertions(+), 5 deletions(-)
>
> Complete diff:
> diff --git a/arch/x86/boot/Makefile b/arch/x86/boot/Makefile
> index 658bc52..aca7d2f 100644
> --- a/arch/x86/boot/Makefile
> +++ b/arch/x86/boot/Makefile
> @@ -22,6 +22,9 @@ ROOT_DEV := CURRENT
>
> SVGA_MODE := -DSVGA_MODE=NORMAL_VGA
>
> +# Make all warnings into errors
=> 'Turn all warnings into errors'
> +ccflags-y := -Werror
> +
> targets := vmlinux.bin setup.bin setup.elf bzImage
> targets += fdimage fdimage144 fdimage288 image.iso mtools.conf
> subdir- := compressed
> --- a/arch/x86/mm/Makefile
> +++ b/arch/x86/mm/Makefile
> @@ -1,3 +1,6 @@
> +# Make all warnings into errors
> +ccflags-y := -Werror
> +
> obj-y := init.o init_$(BITS).o fault.o ioremap.o extable.o pageattr.o mmap.o \
> pat.o pgtable.o gup.o
i'd suggest to right-align this obj-y rule as well, to move it in
line with the other lines.
Looks good otherwise.
Sam, any second thoughts?
Ingo
next prev parent reply other threads:[~2009-04-15 11:15 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-15 11:04 Jaswinder Singh Rajput
2009-04-15 11:13 ` Ingo Molnar [this message]
2009-04-15 12:25 ` Jaswinder Singh Rajput
2009-04-15 15:55 ` Jaswinder Singh Rajput
2009-04-15 19:37 ` Ingo Molnar
2009-04-15 19:22 ` Andrew Morton
2009-04-15 19:28 ` Ingo Molnar
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=20090415111355.GB27727@elte.hu \
--to=mingo@elte.hu \
--cc=akpm@linux-foundation.org \
--cc=jaswinder@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=sam@ravnborg.org \
--cc=x86@kernel.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
all inboxes | Powered by JetHome®