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.cos...@imgtec.com>