[openeuler:OLK-6.6 2402/2402] drivers/perf/hisilicon/hisi_uncore_noc_pmu.c:346:29: sparse: sparse: symbol 'hisi_noc_pmu_ids' was not declared. Should it be static?

tree: https://gitee.com/openeuler/kernel.git OLK-6.6 head: 852df0842f6ca5e0b4808eb4b1368aed4b492917 commit: 8c762db2e0376bd2f409e98db4c32990e431e1a6 [2402/2402] drivers/perf: hisi: Add support for HiSilicon NoC PMU config: arm64-randconfig-r133-20250617 (https://download.01.org/0day-ci/archive/20250617/202506171713.Ayyiweme-lkp@i...) compiler: clang version 21.0.0git (https://github.com/llvm/llvm-project f819f46284f2a79790038e1f6649172789734ae8) reproduce: (https://download.01.org/0day-ci/archive/20250617/202506171713.Ayyiweme-lkp@i...) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot <lkp@intel.com> | Closes: https://lore.kernel.org/oe-kbuild-all/202506171713.Ayyiweme-lkp@intel.com/ sparse warnings: (new ones prefixed by >>)
drivers/perf/hisilicon/hisi_uncore_noc_pmu.c:346:29: sparse: sparse: symbol 'hisi_noc_pmu_ids' was not declared. Should it be static?
vim +/hisi_noc_pmu_ids +346 drivers/perf/hisilicon/hisi_uncore_noc_pmu.c 345
346 const struct acpi_device_id hisi_noc_pmu_ids[] = { 347 { "HISI04E0", }, 348 { } 349 }; 350 MODULE_DEVICE_TABLE(acpi, hisi_noc_pmu_ids); 351
-- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
participants (1)
-
kernel test robot