x86: edd: fix wrong return type for read_mbr_sig() function
PATCH 1/1 x86: edd: fix wrong return type for read_mbr_sig() function
Signed-off-by Paulo Alcantara <[email protected]>
--- arch/x86/boot/edd.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
arch/x86/boot/edd.c +1 -1
@@ -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;
Signature · 1 line
1.7.7.4