[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20171229183015.7772-1-cpu808694@gmail.com>
Date: Fri, 29 Dec 2017 19:30:15 +0100
From: Saidgani Musaev <cpu808694@...il.com>
To: hpa@...or.com
Cc: tglx@...utronix.de, x86@...nel.org, linux-kernel@...r.kernel.org,
Saidgani Musaev <cpu808694@...il.com>
Subject: [PATCH] arch/x86/boot: sizeof macro
---
arch/x86/boot/memory.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/boot/memory.c b/arch/x86/boot/memory.c
index d9c28c8..7df2b28 100644
--- a/arch/x86/boot/memory.c
+++ b/arch/x86/boot/memory.c
@@ -26,7 +26,7 @@ static int detect_memory_e820(void)
initregs(&ireg);
ireg.ax = 0xe820;
- ireg.cx = sizeof buf;
+ ireg.cx = sizeof(buf);
ireg.edx = SMAP;
ireg.di = (size_t)&buf;
--
2.9.5
Powered by blists - more mailing lists