[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.21.1812171930280.1660@nanos.tec.linutronix.de>
Date: Mon, 17 Dec 2018 19:31:06 +0100 (CET)
From: Thomas Gleixner <tglx@...utronix.de>
To: Ingo Molnar <mingo@...nel.org>
cc: Chao Fan <fanc.fnst@...fujitsu.com>, linux-kernel@...r.kernel.org,
x86@...nel.org, bp@...en8.de, mingo@...hat.com, hpa@...or.com,
keescook@...omium.org, bhe@...hat.com, msys.mizuma@...il.com,
indou.takao@...fujitsu.com, caoj.fnst@...fujitsu.com
Subject: Re: [PATCH v14 1/5] x86/boot: Introduce get_acpi_rsdp() to parse
RSDP in cmdline from KEXEC
On Mon, 17 Dec 2018, Ingo Molnar wrote:
> * Chao Fan <fanc.fnst@...fujitsu.com> wrote:
> > + val[len] = '\0';
> > + return (acpi_physical_address)simple_strtoull(val, &e, 16);
>
> 'return' is not a function - no need for the parenthesis.
It's a typecast which better has parenthesis....
Powered by blists - more mailing lists