From: Thomas Gleixner <tglx@linutronix.de>
To: Rusty Russell <rusty@rustcorp.com.au>
Cc: Ingo Molnar <mingo@elte.hu>,
linux-kernel@vger.kernel.org, Huang Ying <ying.huang@intel.com>
Subject: Re: [PATCH] x86: fix up bootparam.h for userspace inclusion
Date: Sat, 3 May 2008 23:04:03 +0200 (CEST) [thread overview]
Message-ID: <alpine.LFD.1.10.0805032303410.6003@apollo.tec.linutronix.de> (raw)
In-Reply-To: <200805022114.20672.rusty@rustcorp.com.au>
On Fri, 2 May 2008, Rusty Russell wrote:
> commit 8b664aa66e824a0ddf4ec56d41fa0cf7bb374de6 (x86, boot: add linked
> list of struct setup_data) put a new struct in bootparam.h, but didn't
> use the userspace-safe types.
>
> CC: Huang, Ying <ying.huang@intel.com>
> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
>
> diff -r 3b015cd747e0 include/asm-x86/bootparam.h
> --- a/include/asm-x86/bootparam.h Fri May 02 09:32:30 2008 +1000
> +++ b/include/asm-x86/bootparam.h Fri May 02 18:35:11 2008 +1000
> @@ -14,10 +14,10 @@
>
> /* extensible setup data list node */
> struct setup_data {
> - u64 next;
> - u32 type;
> - u32 len;
> - u8 data[0];
> + __u64 next;
> + __u32 type;
> + __u32 len;
> + __u8 data[0];
> };
>
> struct setup_header {
Applied, thanks
tglx
prev parent reply other threads:[~2008-05-03 21:04 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-02 11:14 Rusty Russell
2008-05-02 18:51 ` H. Peter Anvin
2008-05-03 21:04 ` Thomas Gleixner [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=alpine.LFD.1.10.0805032303410.6003@apollo.tec.linutronix.de \
--to=tglx@linutronix.de \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=rusty@rustcorp.com.au \
--cc=ying.huang@intel.com \
/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
Powered by JetHome