[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1325550206-29606-1-git-send-email-pcacjr@gmail.com>
Date: Mon, 2 Jan 2012 21:23:26 -0300
From: Paulo Alcantara <pcacjr@...il.com>
To: hpa@...or.com
Cc: linux-kernel@...r.kernel.org, Paulo Alcantara <pcacjr@...il.com>
Subject: [PATCH] x86: edd: fix wrong return type for read_mbr_sig() function
Signed-off-by: Paulo Alcantara <pcacjr@...il.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists