[android-common:android13-5.15-2025-12 34/34] drivers/misc/uid_sys_stats.c:38:12: sparse: sparse: symbol 'uid_lock' was not declared. Should it be static?
kernel test robot <[email protected]>
| Newsgroups | dev.linux.lists.oe-kbuild-all |
|---|---|
| Message-ID | <[email protected]> |
tree: https://android.googlesource.com/kernel/common android13-5.15-2025-12 head: 2da3fa4adb2e7336d7e5a095c67b42582d4e54af commit: c949fbdce0bc792dea206c709d909094be579c3a [34/34] ANDROID: uid_sys_stat: split the global lock uid_lock to the fine-grained locks for each hlist in hash_table. config: arm64-randconfig-r122-20260807 (https://download.01.org/0day-ci/archive/20260808/[email protected]/config) compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project 12df34b8469b8095359de8c249cb1b2753fadeea) sparse: v0.6.5-rc1 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260808/[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/misc/uid_sys_stats.c:38:12: sparse: sparse: symbol 'uid_lock' was not declared. Should it be static? vim +/uid_lock +38 drivers/misc/uid_sys_stats.c 31 32 #define UID_HASH_BITS 10 33 #define UID_HASH_NUMS (1 << UID_HASH_BITS) 34 DECLARE_HASHTABLE(hash_table, UID_HASH_BITS); 35 /* 36 * uid_lock[bkt] ensure consistency of hash_table[bkt] 37 */ > 38 spinlock_t uid_lock[UID_HASH_NUMS]; 39 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki