[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190624125126.GF4699@dell>
Date: Mon, 24 Jun 2019 13:51:26 +0100
From: Lee Jones <lee.jones@...aro.org>
To: Nick Desaulniers <ndesaulniers@...gle.com>
Cc: Nathan Chancellor <natechancellor@...il.com>,
Andy Gross <agross@...nel.org>,
Bjorn Andersson <bjorn.andersson@...aro.org>,
Linus Walleij <linus.walleij@...aro.org>,
linux-arm-msm <linux-arm-msm@...r.kernel.org>,
linux-gpio@...r.kernel.org, LKML <linux-kernel@...r.kernel.org>,
clang-built-linux <clang-built-linux@...glegroups.com>
Subject: Re: [PATCH] pinctrl: qcom: sdm845: Fix CONFIG preprocessor guard
On Fri, 21 Jun 2019, Nick Desaulniers wrote:
> On Fri, Jun 21, 2019 at 1: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>
>
> Thanks for the patch.
> Reviewed-by: Nick Desaulniers <ndesaulniers@...gle.com>
Interesting. Thanks for fixing.
Acked-by: Lee Jones <lee.jones@...aro.org>
--
Lee Jones [李琼斯]
Linaro Services Technical Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
Powered by blists - more mailing lists