drivers/perf/arm-cmn.c:356:15: sparse: sparse: symbol 'arm_cmn_debugfs' was not declared. Should it be static?
kernel test robot
build bottree: https://android.googlesource.com/kernel/common android14-5.15 head: 36e3098ebf6d37570aab9dc5f8f4d24bd5ffdd06 commit: 31eccfd00de09d61f9be767eca053547e1064338 [65/65] UPSTREAM: perf/arm-cmn: Add debugfs topology info config: arm-randconfig-r2301-20261126 (https://download.01.org/0day-ci/archive/20261126/[email protected]/config) compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project a2bea097c8bf336f31f45e88e96f20d88e37ff5a) sparse: v0.6.5-rc1-21-g84ec0658 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261126/[email protected]/reproduce)
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 <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
sparse warnings: (new ones prefixed by >>)
>> drivers/perf/arm-cmn.c:356:15: sparse: sparse: symbol 'arm_cmn_debugfs' was not declared. Should it be static?
drivers/perf/arm-cmn.c: note: in included file:
include/linux/io-64-nonatomic-lo-hi.h:38:9: sparse: sparse: cast truncates bits from constant value (8000000000 becomes 0) include/linux/io-64-nonatomic-lo-hi.h:38:9: sparse: sparse: cast truncates bits from constant value (8000000000 becomes 0)
vim +/arm_cmn_debugfs +356 drivers/perf/arm-cmn.c
355
> 356 struct dentry *arm_cmn_debugfs;
357
Signature · 2 lines
0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki