All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Herbert Xu <herbert@gondor.apana.org.au>
Cc: oe-kbuild-all@lists.linux.dev, Ard Biesheuvel <ardb@kernel.org>
Subject: [ardb:riscv-scalar-aes 2/11] net/xfrm/xfrm_algo.c:695:undefined reference to `crypto_has_aead'
Date: Sat, 23 Sep 2023 09:51:23 +0800	[thread overview]
Message-ID: <202309230908.OjSZfBit-lkp@intel.com> (raw)

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

                 reply	other threads:[~2023-09-23  1:52 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202309230908.OjSZfBit-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=ardb@kernel.org \
    --cc=herbert@gondor.apana.org.au \
    --cc=oe-kbuild-all@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.