Reported-by: kernel test robot <lkp@xxxxxxxxx <mailto:lkp@xxxxxxxxx>>Do you need me to fix this warning when CONFIG_ACPI not defined?
All warnings (new ones prefixed by >>):
static const struct acpi_device_id dsu_pmu_acpi_match[] = {drivers/perf/arm_dsu_pmu.c:799:36: warning: unused variable 'dsu_pmu_acpi_match' [-Wunused-const-variable]
^
1 warning generated.
Yes, please. The kernel should compile fine in any config. Any compiler
warning is not good (unless the compiler is wrong).
I will fix it. I asked because with no CONFIG_ACPI, i saw the same message on other drivers.