[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <174548907548.56131.3060253413773321018.b4-ty@imgtec.com>
Date: Thu, 24 Apr 2025 11:04:35 +0100
From: Matt Coster <matt.coster@...tec.com>
To: Frank Binns <frank.binns@...tec.com>,
Maarten Lankhorst
<maarten.lankhorst@...ux.intel.com>,
Maxime Ripard <mripard@...nel.org>,
Thomas Zimmermann <tzimmermann@...e.de>,
David Airlie <airlied@...il.com>, Simona Vetter <simona@...ll.ch>,
Arnd Bergmann <arnd@...nel.org>
CC: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>,
Andy Shevchenko
<andriy.shevchenko@...ux.intel.com>,
Arnd Bergmann <arnd@...db.de>,
"Andrzej
Hajda" <andrzej.hajda@...el.com>,
Jani Nikula <jani.nikula@...el.com>,
"Alex
Deucher" <alexander.deucher@....com>,
Alessio Belle
<alessio.belle@...tec.com>,
<dri-devel@...ts.freedesktop.org>, <linux-kernel@...r.kernel.org>
Subject: Re: (subset) [PATCH 01/10] drm/imagination: avoid
unused-const-variable warning
On Wed, 09 Apr 2025 14:22:53 +0200, Arnd Bergmann wrote:
> When CONFIG_DEBUG_FS is disabled, the stid_fmts[] array is not referenced
> anywhere, causing a W=1 warning with gcc:
>
> In file included from drivers/gpu/drm/imagination/pvr_fw_trace.c:7:
> drivers/gpu/drm/imagination/pvr_rogue_fwif_sf.h:75:39: error: 'stid_fmts' defined but not used [-Werror=unused-const-variable=]
> 75 | static const struct rogue_km_stid_fmt stid_fmts[] = {
> | ^~~~~~~~~
>
> [...]
Applied, thanks!
[01/10] drm/imagination: avoid unused-const-variable warning
commit: 3206a96675342badb0254558ba4b4c8764aa3ae7
Best regards,
--
Matt Coster <matt.coster@...tec.com>
Powered by blists - more mailing lists