aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2025-04-09 14:22:53 +0200
committerMatt Coster <matt.coster@imgtec.com>2025-04-24 10:51:55 +0100
commit3206a96675342badb0254558ba4b4c8764aa3ae7 (patch)
treeaf400600299139dbdc2c91ed3d3c8f0fd4f06a4b /tools/perf/scripts/python/export-to-postgresql.py
parentdrm/panel: himax-hx8279: Always initialize goa_{even,odd}_valid in hx8279_check_goa_config() (diff)
downloadwireguard-linux-3206a96675342badb0254558ba4b4c8764aa3ae7.tar.xz
wireguard-linux-3206a96675342badb0254558ba4b4c8764aa3ae7.zip
drm/imagination: avoid unused-const-variable warning
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[] = { | ^~~~~~~~~ Rather than adding more #ifdef blocks, address this by changing the existing #ifdef into equivalent IS_ENABLED() checks so gcc can see where the symbol is used but still eliminate it from the object file. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Reviewed-by: Matt Coster <matt.coster@imgtec.com> Link: https://lore.kernel.org/r/20250409122314.2848028-1-arnd@kernel.org Signed-off-by: Matt Coster <matt.coster@imgtec.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions