lkml.org 
[lkml]   [2020]   [Jun]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectdrivers/crypto/chelsio/chtls/chtls_main.c:201: undefined reference to `tls_toe_register_device'
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 1b5044021070efa3259f3e9548dc35d1eb6aa844
commit: a624a86510adaeefd33aac224751e89348596d2a crypto/chtls:Fix compile error when CONFIG_IPV6 is disabled
date: 2 weeks ago
config: riscv-randconfig-r001-20200618 (attached as .config)
compiler: riscv64-linux-gcc (GCC) 9.3.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
git checkout a624a86510adaeefd33aac224751e89348596d2a
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=riscv

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

riscv64-linux-ld: drivers/crypto/chelsio/chtls/chtls_main.o: in function `__write_once_size':
include/linux/compiler.h:278: undefined reference to `tls_toe_unregister_device'
riscv64-linux-ld: drivers/crypto/chelsio/chtls/chtls_main.o: in function `chtls_register_dev':
>> drivers/crypto/chelsio/chtls/chtls_main.c:201: undefined reference to `tls_toe_register_device'

vim +201 drivers/crypto/chelsio/chtls/chtls_main.c

df9d4a1780223c Atul Gupta 2018-12-11 191
a089439478734a Atul Gupta 2018-03-31 192 static void chtls_register_dev(struct chtls_dev *cdev)
a089439478734a Atul Gupta 2018-03-31 193 {
f21912edd15708 Jakub Kicinski 2019-10-03 194 struct tls_toe_device *tlsdev = &cdev->tlsdev;
a089439478734a Atul Gupta 2018-03-31 195
f21912edd15708 Jakub Kicinski 2019-10-03 196 strlcpy(tlsdev->name, "chtls", TLS_TOE_DEVICE_NAME_MAX);
a089439478734a Atul Gupta 2018-03-31 197 strlcat(tlsdev->name, cdev->lldi->ports[0]->name,
f21912edd15708 Jakub Kicinski 2019-10-03 198 TLS_TOE_DEVICE_NAME_MAX);
a089439478734a Atul Gupta 2018-03-31 199 tlsdev->feature = chtls_inline_feature;
a089439478734a Atul Gupta 2018-03-31 200 tlsdev->hash = chtls_create_hash;
a089439478734a Atul Gupta 2018-03-31 @201 tlsdev->unhash = chtls_destroy_hash;
df9d4a1780223c Atul Gupta 2018-12-11 202 tlsdev->release = chtls_dev_release;
df9d4a1780223c Atul Gupta 2018-12-11 203 kref_init(&tlsdev->kref);
f21912edd15708 Jakub Kicinski 2019-10-03 204 tls_toe_register_device(tlsdev);
65b2c12dcdb883 Ganesh Goudar 2018-08-10 205 cdev->cdev_state = CHTLS_CDEV_STATE_UP;
a089439478734a Atul Gupta 2018-03-31 206 }
a089439478734a Atul Gupta 2018-03-31 207

:::::: The code at line 201 was first introduced by commit
:::::: a089439478734a6a0aa2eabbc03113e0c34db282 crypto: chtls - Register chtls with net tls

:::::: TO: Atul Gupta <atul.gupta@chelsio.com>
:::::: CC: David S. Miller <davem@davemloft.net>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[unhandled content-type:application/gzip]
\
 
 \ /
  Last update: 2020-06-18 14:59    [W:0.086 / U:0.200 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site