Hi zhenwei,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on herbert-cryptodev-2.6/master]
[also build test ERROR on herbert-crypto-2.6/master linux/master linus/master v5.16
next-20220121]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url:
https://github.com/0day-ci/linux/commits/zhenwei-pi/Introduce-akcipher-se...
base:
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git master
config: nios2-randconfig-c024-20220120
(
https://download.01.org/0day-ci/archive/20220122/202201220521.kldW6vYy-lk...)
compiler: nios2-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
#
https://github.com/0day-ci/linux/commit/fa1045d13dd16399ab0287c599719a977...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review
zhenwei-pi/Introduce-akcipher-service-for-virtio-crypto/20220121-102730
git checkout fa1045d13dd16399ab0287c599719a977892cf05
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir
ARCH=nios2 SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
nios2-linux-ld: drivers/crypto/virtio/virtio_crypto_akcipher_algo.o: in function
`virtio_crypto_rsa_set_key':
virtio_crypto_akcipher_algo.c:(.text+0x4d4): undefined reference to
`rsa_parse_priv_key'
virtio_crypto_akcipher_algo.c:(.text+0x4d4): relocation truncated to fit:
R_NIOS2_CALL26 against `rsa_parse_priv_key'
> nios2-linux-ld: virtio_crypto_akcipher_algo.c:(.text+0x514):
undefined reference to `rsa_parse_pub_key'
virtio_crypto_akcipher_algo.c:(.text+0x514): relocation truncated to fit: R_NIOS2_CALL26
against `rsa_parse_pub_key'
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org