[openeuler:OLK-6.6 3479/3479] drivers/ub/urma/ubcore/ubcore_connect_adapter.c:190:1: warning: no previous prototype for 'ubcore_find_remove_ex_tp_info'
tree: https://gitee.com/openeuler/kernel.git OLK-6.6 head: f9a278cf61499e631038cf7d7847bb990cf89d7e commit: cd3e93f2a6d3bba9ff616fb065a943877d3d7894 [3479/3479] urma: implement ubcore basic connection and bonding support config: arm64-randconfig-r061-20251205 (https://download.01.org/0day-ci/archive/20251205/202512051530.omM8ItZN-lkp@i...) compiler: aarch64-linux-gcc (GCC) 9.5.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251205/202512051530.omM8ItZN-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/202512051530.omM8ItZN-lkp@intel.com/ All warnings (new ones prefixed by >>):
drivers/ub/urma/ubcore/ubcore_connect_adapter.c:190:1: warning: no previous prototype for 'ubcore_find_remove_ex_tp_info' [-Wmissing-prototypes] 190 | ubcore_find_remove_ex_tp_info(struct ubcore_device *dev, uint64_t tp_handle) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kconfig warnings: (for reference only) WARNING: unmet direct dependencies detected for PGP_PRELOAD Depends on [n]: CRYPTO [=y] && ASYMMETRIC_KEY_TYPE [=n] Selected by [y]: - PGP_PRELOAD_PUBLIC_KEYS [=y] && CRYPTO [=y] vim +/ubcore_find_remove_ex_tp_info +190 drivers/ub/urma/ubcore/ubcore_connect_adapter.c 188 189 struct ubcore_ex_tp_info *
190 ubcore_find_remove_ex_tp_info(struct ubcore_device *dev, uint64_t tp_handle) 191 { 192 struct ubcore_ex_tp_info *ex_tp_info = NULL; 193 uint32_t hash; 194 195 hash = ubcore_get_ex_tp_hash(&tp_handle); 196 spin_lock(&dev->ht[UBCORE_HT_EX_TP].lock); 197 if (dev->ht[UBCORE_HT_EX_TP].head == NULL) { 198 spin_unlock(&dev->ht[UBCORE_HT_EX_TP].lock); 199 return NULL; 200 } 201 202 ex_tp_info = ubcore_hash_table_lookup_nolock(&dev->ht[UBCORE_HT_EX_TP], 203 hash, &tp_handle); 204 if (ex_tp_info == NULL) { 205 spin_unlock(&dev->ht[UBCORE_HT_EX_TP].lock); 206 ubcore_log_warn("Failed to find ex_tp_info, tp_handle: %llu.\n", 207 tp_handle); 208 return NULL; 209 } 210 ubcore_hash_table_remove_nolock(&dev->ht[UBCORE_HT_EX_TP], 211 &ex_tp_info->hnode); 212 spin_unlock(&dev->ht[UBCORE_HT_EX_TP].lock); 213 214 return ex_tp_info; 215 } 216
-- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
participants (1)
-
kernel test robot