From: Paulo Alcantara <pcacjr@gmail.com>
To: hpa@zytor.com
Cc: linux-kernel@vger.kernel.org, Paulo Alcantara <pcacjr@gmail.com>
Subject: [PATCH] x86: edd: fix wrong return type for read_mbr_sig() function
Date: Mon, 2 Jan 2012 21:23:26 -0300 [thread overview]
Message-ID: <1325550206-29606-1-git-send-email-pcacjr@gmail.com> (raw)
Signed-off-by: Paulo Alcantara <pcacjr@gmail.com>
---
arch/x86/boot/edd.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/x86/boot/edd.c b/arch/x86/boot/edd.c
index c501a5b..7209b2d 100644
--- a/arch/x86/boot/edd.c
+++ b/arch/x86/boot/edd.c
@@ -36,7 +36,7 @@ static int read_mbr(u8 devno, void *buf)
return -(oreg.eflags & X86_EFLAGS_CF); /* 0 or -1 */
}
-static u32 read_mbr_sig(u8 devno, struct edd_info *ei, u32 *mbrsig)
+static int read_mbr_sig(u8 devno, struct edd_info *ei, u32 *mbrsig)
{
int sector_size;
char *mbrbuf_ptr, *mbrbuf_end;
--
1.7.7.4
reply other threads:[~2012-01-03 0:25 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=1325550206-29606-1-git-send-email-pcacjr@gmail.com \
--to=pcacjr@gmail.com \
--cc=hpa@zytor.com \
--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
all inboxes | Powered by JetHome®