tree: https://gitee.com/openeuler/kernel.git OLK-5.10 head: 06a8b520851290347ca458d4335bebc607fe3b58 commit: 42aacec658a804ffbd46535125897c2a089fb55d [3382/3382] drivers:misc:sdma-dae: optimize kernel code config: arm64-randconfig-r122-20251205 (https://download.01.org/0day-ci/archive/20251206/202512061353.zv9lgx8W-lkp@i...) compiler: aarch64-linux-gcc (GCC) 8.5.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251206/202512061353.zv9lgx8W-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/202512061353.zv9lgx8W-lkp@intel.com/ sparse warnings: (new ones prefixed by >>)
drivers/misc/sdma-dae/sdma_umem.c:53:19: sparse: sparse: symbol 'hash_lookup_entry' was not declared. Should it be static?
vim +/hash_lookup_entry +53 drivers/misc/sdma-dae/sdma_umem.c e64fcc91b39705 zhangshuowen96 2024-06-11 52 e64fcc91b39705 zhangshuowen96 2024-06-11 @53 struct hash_entry *hash_lookup_entry(int ida) e64fcc91b39705 zhangshuowen96 2024-06-11 54 { e64fcc91b39705 zhangshuowen96 2024-06-11 55 struct hash_entry *entry; e64fcc91b39705 zhangshuowen96 2024-06-11 56 e64fcc91b39705 zhangshuowen96 2024-06-11 57 hash_for_each_possible(g_hash_table->sdma_fd_ht, entry, node, ida) e64fcc91b39705 zhangshuowen96 2024-06-11 58 if (entry->ida == ida) e64fcc91b39705 zhangshuowen96 2024-06-11 59 return entry; e64fcc91b39705 zhangshuowen96 2024-06-11 60 e64fcc91b39705 zhangshuowen96 2024-06-11 61 return NULL; e64fcc91b39705 zhangshuowen96 2024-06-11 62 } e64fcc91b39705 zhangshuowen96 2024-06-11 63 :::::: The code at line 53 was first introduced by commit :::::: e64fcc91b39705284a6fc63bee257d2fed5e836a drivers: misc: sdma-dae: support page fault preprocess :::::: TO: zhangshuowen96 <zhangshuowen@hisilicon.com> :::::: CC: zhangshuowen96 <zhangshuowen@hisilicon.com> -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki