Hi all, After merging the drm-misc tree, today's linux-next build (arm multi_v7_defconfig) failed like this: In file included from drivers/gpu/drm/v3d/v3d_drv.h:14, from drivers/gpu/drm/v3d/v3d_bo.c:26: drivers/gpu/drm/v3d/v3d_performance_counters.h:118:43: warning: 'v3d_v42_performance_counters' defined but not used [-Wunused-const-variable=] 118 | static const struct v3d_perf_counter_desc v3d_v42_performance_counters[] = { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from drivers/gpu/drm/v3d/v3d_drv.h:14, from drivers/gpu/drm/v3d/v3d_fence.c:4: drivers/gpu/drm/v3d/v3d_performance_counters.h:118:43: warning: 'v3d_v42_performance_counters' defined but not used [-Wunused-const-variable=] 118 | static const struct v3d_perf_counter_desc v3d_v42_performance_counters[] = { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from drivers/gpu/drm/v3d/v3d_drv.h:14, from drivers/gpu/drm/v3d/v3d_gem.c:15: drivers/gpu/drm/v3d/v3d_performance_counters.h:118:43: warning: 'v3d_v42_performance_counters' defined but not used [-Wunused-const-variable=] 118 | static const struct v3d_perf_counter_desc v3d_v42_performance_counters[] = { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from drivers/gpu/drm/v3d/v3d_drv.h:14, from drivers/gpu/drm/v3d/v3d_mmu.c:21: drivers/gpu/drm/v3d/v3d_performance_counters.h:118:43: warning: 'v3d_v42_performance_counters' defined but not used [-Wunused-const-variable=] 118 | static const struct v3d_perf_counter_desc v3d_v42_performance_counters[] = { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from drivers/gpu/drm/v3d/v3d_drv.h:14, from drivers/gpu/drm/v3d/v3d_irq.c:19: drivers/gpu/drm/v3d/v3d_performance_counters.h:118:43: warning: 'v3d_v42_performance_counters' defined but not used [-Wunused-const-variable=] 118 | static const struct v3d_perf_counter_desc v3d_v42_performance_counters[] = { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from drivers/gpu/drm/v3d/v3d_drv.h:14, from drivers/gpu/drm/v3d/v3d_sched.c:26: drivers/gpu/drm/v3d/v3d_performance_counters.h:118:43: warning: 'v3d_v42_performance_counters' defined but not used [-Wunused-const-variable=] 118 | static const struct v3d_perf_counter_desc v3d_v42_performance_counters[] = { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from drivers/gpu/drm/v3d/v3d_drv.h:14, from drivers/gpu/drm/v3d/v3d_trace_points.c:4: drivers/gpu/drm/v3d/v3d_performance_counters.h:118:43: warning: 'v3d_v42_performance_counters' defined but not used [-Wunused-const-variable=] 118 | static const struct v3d_perf_counter_desc v3d_v42_performance_counters[] = { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from drivers/gpu/drm/v3d/v3d_drv.h:14, from drivers/gpu/drm/v3d/v3d_sysfs.c:9: drivers/gpu/drm/v3d/v3d_performance_counters.h:118:43: warning: 'v3d_v42_performance_counters' defined but not used [-Wunused-const-variable=] 118 | static const struct v3d_perf_counter_desc v3d_v42_performance_counters[] = { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from drivers/gpu/drm/v3d/v3d_drv.h:14, from drivers/gpu/drm/v3d/v3d_debugfs.c:12: drivers/gpu/drm/v3d/v3d_performance_counters.h:118:43: warning: 'v3d_v42_performance_counters' defined but not used [-Wunused-const-variable=] 118 | static const struct v3d_perf_counter_desc v3d_v42_performance_counters[] = { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from drivers/gpu/drm/v3d/v3d_drv.h:14, from drivers/gpu/drm/v3d/v3d_submit.c:9: drivers/gpu/drm/v3d/v3d_performance_counters.h:118:43: warning: 'v3d_v42_performance_counters' defined but not used [-Wunused-const-variable=] 118 | static const struct v3d_perf_counter_desc v3d_v42_performance_counters[] = { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ Caused by commit 3cbcbe016c31 ("drm/v3d: Add Performance Counters descriptions for V3D 4.2 and 7.1") I have used the drm-misc tree from next-20240528 for today. -- Cheers, Stephen Rothwell
Attachment:
pgpBmYwAR1JSG.pgp
Description: OpenPGP digital signature