All of lore.kernel.org
 help / color / mirror / Atom feed
* [ardb:riscv-scalar-aes 2/11] net/xfrm/xfrm_algo.c:695:undefined reference to `crypto_has_aead'
@ 2023-09-23  1:51 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-09-23  1:51 UTC (permalink / raw)
  To: Herbert Xu; +Cc: oe-kbuild-all, Ard Biesheuvel

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git riscv-scalar-aes
head:   06b3ab80336657b218e3d1b5c808e1f45f35d2f1
commit: 0fdcd9d0d058f5f76f3d3c69049966fcf9ab9512 [2/11] ipsec: Stop using crypto_has_alg
config: arm-socfpga_defconfig (https://download.01.org/0day-ci/archive/20230923/202309230908.OjSZfBit-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230923/202309230908.OjSZfBit-lkp@intel.com/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 <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202309230908.OjSZfBit-lkp@intel.com/

All errors (new ones prefixed by >>):

   arm-linux-gnueabi-ld: net/xfrm/xfrm_algo.o: in function `xfrm_find_algo':
>> net/xfrm/xfrm_algo.c:695:(.text+0x664): undefined reference to `crypto_has_aead'


vim +695 net/xfrm/xfrm_algo.c

   676	
   677	static struct xfrm_algo_desc *xfrm_find_algo(
   678		const struct xfrm_algo_list *algo_list,
   679		int match(const struct xfrm_algo_desc *entry, const void *data),
   680		const void *data, int probe)
   681	{
   682		struct xfrm_algo_desc *list = algo_list->algs;
   683		int i, status;
   684	
   685		for (i = 0; i < algo_list->entries; i++) {
   686			if (!match(list + i, data))
   687				continue;
   688	
   689			if (list[i].available)
   690				return &list[i];
   691	
   692			if (!probe)
   693				break;
   694	
 > 695			status = algo_list->find(list[i].name, 0, 0);
   696			if (!status)
   697				break;
   698	
   699			list[i].available = status;
   700			return &list[i];
   701		}
   702		return NULL;
   703	}
   704	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-09-23  1:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-23  1:51 [ardb:riscv-scalar-aes 2/11] net/xfrm/xfrm_algo.c:695:undefined reference to `crypto_has_aead' kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.