From: kernel test robot <lkp@intel.com>
To: Vinay Kumar Yadav <vinay.yadav@chelsio.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org
Subject: drivers/crypto/chelsio/chtls/chtls_main.c:201: undefined reference to `tls_toe_register_device'
Date: Thu, 18 Jun 2020 20:57:38 +0800 [thread overview]
Message-ID: <202006182034.nEp3nfYu%lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2979 bytes --]
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
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 32972 bytes --]
reply other threads:[~2020-06-18 12:58 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=202006182034.nEp3nfYu%lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=vinay.yadav@chelsio.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®