lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202006182034.nEp3nfYu%lkp@intel.com>
Date:   Thu, 18 Jun 2020 20:57:38 +0800
From:   kernel test robot <lkp@...el.com>
To:     Vinay Kumar Yadav <vinay.yadav@...lsio.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: drivers/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@...el.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@...lsio.com>
:::::: CC: David S. Miller <davem@...emloft.net>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

Download attachment ".config.gz" of type "application/gzip" (32972 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ