[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <170958768036.1828118.11265005592143636750.b4-ty@kernel.org>
Date: Mon, 4 Mar 2024 13:28:39 -0800
From: Bjorn Andersson <andersson@...nel.org>
To: Konrad Dybcio <konrad.dybcio@...aro.org>,
Dmitry Baryshkov <dmitry.baryshkov@...aro.org>,
Arnd Bergmann <arnd@...nel.org>
Cc: Arnd Bergmann <arnd@...db.de>,
Rob Herring <robh@...nel.org>,
Yangtao Li <frank.li@...o.com>,
linux-arm-msm@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] soc: qcom: spm: fix building with CONFIG_REGULATOR=n
On Wed, 21 Feb 2024 16:44:51 +0100, Arnd Bergmann wrote:
> The newly added code causes a build failure when -Werror is set:
>
> drivers/soc/qcom/spm.c:388:12: error: 'spm_get_cpu' defined but not used [-Werror=unused-function]
>
> Remove the #ifdef and instead use an IS_ENABLED() check that lets the
> compiler perform dead code elimination instead of the preprocessor.
>
> [...]
Applied, thanks!
[1/1] soc: qcom: spm: fix building with CONFIG_REGULATOR=n
commit: 26a526c25606495e7442feeea53061f81eca22be
Best regards,
--
Bjorn Andersson <andersson@...nel.org>
Powered by blists - more mailing lists