[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdZFvNNodNas2hQ-4iuS-UgHapMR-Y8f715Hbj_PH04iRQ@mail.gmail.com>
Date: Tue, 25 Jun 2019 16:07:30 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Nathan Chancellor <natechancellor@...il.com>
Cc: Andy Gross <agross@...nel.org>,
Bjorn Andersson <bjorn.andersson@...aro.org>,
MSM <linux-arm-msm@...r.kernel.org>,
"open list:GPIO SUBSYSTEM" <linux-gpio@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
clang-built-linux@...glegroups.com,
Lee Jones <lee.jones@...aro.org>
Subject: Re: [PATCH] pinctrl: qcom: sdm845: Fix CONFIG preprocessor guard
On Fri, Jun 21, 2019 at 10:21 PM Nathan Chancellor
<natechancellor@...il.com> wrote:
> Clang warns when CONFIG_ACPI is unset:
>
> drivers/pinctrl/qcom/pinctrl-sdm845.c:1320:5: warning: 'CONFIG_ACPI' is
> not defined, evaluates to 0 [-Wundef]
> #if CONFIG_ACPI
> ^
> 1 warning generated.
>
> Use ifdef instead of if to resolve this.
>
> Fixes: a229105d7a1e ("pinctrl: qcom: sdm845: Provide ACPI support")
> Link: https://github.com/ClangBuiltLinux/linux/issues/569
> Signed-off-by: Nathan Chancellor <natechancellor@...il.com>
Patch applied with the ACKs.
I'm sure Bjorn doesn't mind.
Yours,
Linus Walleij
Powered by blists - more mailing lists