From: Paul Jackson <pj@sgi.com>
To: "Huang, Ying" <ying.huang@intel.com>
Cc: hpa@zytor.com, andi@firstfloor.org, mingo@redhat.com,
tglx@linutronix.de, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2/4] x86_64 boot -v2: Add linked list of struct setup_data
Date: Sat, 29 Mar 2008 23:31:55 -0500 [thread overview]
Message-ID: <20080329233155.ee909a04.pj@sgi.com> (raw)
In-Reply-To: <1206672584.13404.25.camel@caritas-dev.intel.com>
Huang wrote:
> +/* setup data types */
> +#define SETUP_NONE 0
This define seems unused?
Actually, what use would it ever have? Should not every
struct setup_data on the setup_data linked list have a
valid (not NONE) type? And perhaps that switch statement
that confused me:
> + switch (data->type) {
> + default:
> + break;
> + }
should not "break" silently on an unrecognized data->type, but
rather complain bitterly?
--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <pj@sgi.com> 1.940.382.4214
next prev parent reply other threads:[~2008-03-30 4:32 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-28 2:49 [PATCH 2/4] x86_64 boot -v2: Add linked list of struct setup_data Huang, Ying
2008-03-30 4:25 ` Paul Jackson
2008-03-30 4:31 ` Paul Jackson [this message]
2008-03-31 0:54 ` Huang, Ying
2008-04-02 7:39 ` Paul Jackson
2008-04-02 16:39 ` H. Peter Anvin
2008-04-02 17:36 ` Paul Jackson
2008-03-30 8:15 ` Yinghai Lu
2008-03-31 0:52 ` Huang, Ying
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=20080329233155.ee909a04.pj@sgi.com \
--to=pj@sgi.com \
--cc=andi@firstfloor.org \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=tglx@linutronix.de \
--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