Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751718AbdL2SaY (ORCPT ); Fri, 29 Dec 2017 13:30:24 -0500 Received: from mail-wr0-f196.google.com ([209.85.128.196]:34871 "EHLO mail-wr0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751161AbdL2SaX (ORCPT ); Fri, 29 Dec 2017 13:30:23 -0500 X-Google-Smtp-Source: ACJfBouvMvIpTZ0h4aCEir3zKIsOy4nbrW+2XATG5BX33V9b21OxxYUKZQdpc4wLfr1tTtZHN40z8A== From: Saidgani Musaev To: hpa@zytor.com Cc: tglx@linutronix.de, x86@kernel.org, linux-kernel@vger.kernel.org, Saidgani Musaev Subject: [PATCH] arch/x86/boot: sizeof macro Date: Fri, 29 Dec 2017 19:30:15 +0100 Message-Id: <20171229183015.7772-1-cpu808694@gmail.com> X-Mailer: git-send-email 2.9.5 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 437 Lines: 19 --- 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