From: "H. Peter Anvin" <hpa@zytor.com>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Ingo Molnar <mingo@kernel.org>,
linux-kernel@vger.kernel.org,
Thomas Gleixner <tglx@linutronix.de>,
Andrew Morton <akpm@linux-foundation.org>,
Matt Fleming <matt@console-pimps.org>
Subject: Re: [GIT PULL] x86/build changes for v3.4
Date: Thu, 22 Mar 2012 10:58:06 -0700 [thread overview]
Message-ID: <4F6B682E.4060409@zytor.com> (raw)
In-Reply-To: <CA+55aFzTFa0uxnf7f=kXyJRNE9FGTUtvyfcej1UeMja1-AcZ-A@mail.gmail.com>
On 03/22/2012 09:57 AM, Linus Torvalds wrote:
> Grr.
>
> This causes
>
> In file included from tools/include/tools/le_byteshift.h:4:0,
> from arch/x86/boot/tools/build.c:35:
> include/linux/types.h:13:2: warning: #warning "Attempt to use kernel
> headers from user space, see http://kernelnewbies.org/KernelHeaders"
>
> for my build. How come nobody noticed?
>
> Linus
>
Mystery explained: the above #warning only occurs when compiling without
O=, and all my test scripts use O=. I will work with Matt Fleming to
come up with a fix ASAP.
-hpa
--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.
prev parent reply other threads:[~2012-03-22 17:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-19 16:30 [GIT PULL] x86/build changes for v3.4 Ingo Molnar
2012-03-22 16:57 ` Linus Torvalds
2012-03-22 16:59 ` H. Peter Anvin
2012-03-22 17:58 ` H. Peter Anvin [this message]
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=4F6B682E.4060409@zytor.com \
--to=hpa@zytor.com \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=matt@console-pimps.org \
--cc=mingo@kernel.org \
--cc=tglx@linutronix.de \
--cc=torvalds@linux-foundation.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