From: Andrew Morton <akpm@osdl.org>
To: FabF <fabian.frederick@skynet.be>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2.6.7-mm1] MBR centralization
Date: Wed, 23 Jun 2004 14:06:50 -0700 [thread overview]
Message-ID: <20040623140650.46f184bd.akpm@osdl.org> (raw)
In-Reply-To: <1088025348.2213.32.camel@localhost.localdomain>
FabF <fabian.frederick@skynet.be> wrote:
>
> +/*Master boot record magic numbers*/
> +#define MSDOS_MBR_SIGNATURE 0xaa55
> +#define MSDOS_MBR(p) le16_to_cpu((u16)*p) == MSDOS_MBR_SIGNATURE
I'd make this
/*
* Check for MSDOS Master Boot Record signature
*/
static inline int msdos_mbr(u16 v)
{
return le16_to_cpu(v) == 0xaa55;
}
next prev parent reply other threads:[~2004-06-23 21:04 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-23 21:15 FabF
2004-06-23 21:06 ` Andrew Morton [this message]
2004-06-23 22:04 ` FabF
2004-06-23 21:36 ` Andries Brouwer
2004-06-24 6:07 ` FabF
2004-06-24 12:57 ` Andries Brouwer
[not found] ` <Pine.LNX.4.60.0406240809280.29245@hermes-1.csi.cam.ac.uk>
[not found] ` <Pine.LNX.4.60.0406240829550.29245@hermes-1.csi.cam.ac.uk>
2004-06-24 13:06 ` Andries Brouwer
[not found] ` <1088152223.16286.9.camel@imp.csi.cam.ac.uk>
2004-06-25 9:39 ` Andries Brouwer
2004-06-24 15:10 ` FabF
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=20040623140650.46f184bd.akpm@osdl.org \
--to=akpm@osdl.org \
--cc=fabian.frederick@skynet.be \
--cc=linux-kernel@vger.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
Powered by JetHome