[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20240812045439.tbdsbdwcxntoafdh@vireshk-i7>
Date: Mon, 12 Aug 2024 10:24:39 +0530
From: Viresh Kumar <viresh.kumar@...aro.org>
To: "Rob Herring (Arm)" <robh@...nel.org>
Cc: Hector Martin <marcan@...can.st>, Sven Peter <sven@...npeter.dev>,
Alyssa Rosenzweig <alyssa@...enzweig.io>,
"Rafael J. Wysocki" <rafael@...nel.org>,
Ilia Lin <ilia.lin@...nel.org>,
Matthias Brugger <matthias.bgg@...il.com>,
AngeloGioacchino Del Regno <angelogioacchino.delregno@...labora.com>,
kernel test robot <lkp@...el.com>, asahi@...ts.linux.dev,
linux-arm-kernel@...ts.infradead.org, linux-pm@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-arm-msm@...r.kernel.org,
linux-mediatek@...ts.infradead.org
Subject: Re: [PATCH] cpufreq: Fix warning on unused of_device_id tables for
!CONFIG_OF
On 09-08-24, 11:24, Rob Herring (Arm) wrote:
> !CONFIG_OF builds cause warnings on unused of_device_id tables. This is
> due to of_match_node() being a macro rather than static inline function.
> Add a __maybe_unused annotation to the of_device_id tables.
>
> Fixes: c7582ec85342 ("cpufreq: Drop CONFIG_ARM and CONFIG_ARM64 dependency on Arm drivers")
> Reported-by: kernel test robot <lkp@...el.com>
> Closes: https://lore.kernel.org/oe-kbuild-all/202408090714.wcrqU6Pk-lkp@intel.com/
> Signed-off-by: Rob Herring (Arm) <robh@...nel.org>
> ---
> Note that 0-day only reported 1 warning, but x86 W=1 build gave me these
> 4.
Applied. Thanks.
--
viresh
Powered by blists - more mailing lists