[linux-next:master 2053/14669] drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_main.c:165: undefined reference to `tls_toe_unregister_device'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Vinay,

First bad commit (maybe != root cause):

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   d67bc7812221606e1886620a357b13f906814af7
commit: 44fd1c1fd821955118ecb518f46076b98343e591 [2053/14669] chelsio/chtls: separate chelsio tls driver from crypto driver
config: parisc-randconfig-r006-20201012 (attached as .config)
compiler: hppa-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
        # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=44fd1c1fd821955118ecb518f46076b98343e591
        git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
        git fetch --no-tags linux-next master
        git checkout 44fd1c1fd821955118ecb518f46076b98343e591
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=parisc 

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

All errors (new ones prefixed by >>):

   hppa-linux-ld: drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_main.o: in function `chtls_free_uld':
>> drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_main.c:165: undefined reference to `tls_toe_unregister_device'
   hppa-linux-ld: drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_main.o: in function `chtls_register_dev':
>> drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_main.c:204: undefined reference to `tls_toe_register_device'

vim +165 drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_main.c

a089439478734a drivers/crypto/chelsio/chtls/chtls_main.c Atul Gupta        2018-03-31  160  
df9d4a1780223c drivers/crypto/chelsio/chtls/chtls_main.c Atul Gupta        2018-12-11  161  static void chtls_free_uld(struct chtls_dev *cdev)
df9d4a1780223c drivers/crypto/chelsio/chtls/chtls_main.c Atul Gupta        2018-12-11  162  {
df9d4a1780223c drivers/crypto/chelsio/chtls/chtls_main.c Atul Gupta        2018-12-11  163  	int i;
df9d4a1780223c drivers/crypto/chelsio/chtls/chtls_main.c Atul Gupta        2018-12-11  164  
f21912edd15708 drivers/crypto/chelsio/chtls/chtls_main.c Jakub Kicinski    2019-10-03 @165  	tls_toe_unregister_device(&cdev->tlsdev);
df9d4a1780223c drivers/crypto/chelsio/chtls/chtls_main.c Atul Gupta        2018-12-11  166  	kvfree(cdev->kmap.addr);
df9d4a1780223c drivers/crypto/chelsio/chtls/chtls_main.c Atul Gupta        2018-12-11  167  	idr_destroy(&cdev->hwtid_idr);
df9d4a1780223c drivers/crypto/chelsio/chtls/chtls_main.c Atul Gupta        2018-12-11  168  	for (i = 0; i < (1 << RSPQ_HASH_BITS); i++)
df9d4a1780223c drivers/crypto/chelsio/chtls/chtls_main.c Atul Gupta        2018-12-11  169  		kfree_skb(cdev->rspq_skb_cache[i]);
df9d4a1780223c drivers/crypto/chelsio/chtls/chtls_main.c Atul Gupta        2018-12-11  170  	kfree(cdev->lldi);
df9d4a1780223c drivers/crypto/chelsio/chtls/chtls_main.c Atul Gupta        2018-12-11  171  	kfree_skb(cdev->askb);
df9d4a1780223c drivers/crypto/chelsio/chtls/chtls_main.c Atul Gupta        2018-12-11  172  	kfree(cdev);
df9d4a1780223c drivers/crypto/chelsio/chtls/chtls_main.c Atul Gupta        2018-12-11  173  }
df9d4a1780223c drivers/crypto/chelsio/chtls/chtls_main.c Atul Gupta        2018-12-11  174  
df9d4a1780223c drivers/crypto/chelsio/chtls/chtls_main.c Atul Gupta        2018-12-11  175  static inline void chtls_dev_release(struct kref *kref)
df9d4a1780223c drivers/crypto/chelsio/chtls/chtls_main.c Atul Gupta        2018-12-11  176  {
f21912edd15708 drivers/crypto/chelsio/chtls/chtls_main.c Jakub Kicinski    2019-10-03  177  	struct tls_toe_device *dev;
df9d4a1780223c drivers/crypto/chelsio/chtls/chtls_main.c Atul Gupta        2018-12-11  178  	struct chtls_dev *cdev;
4e98a880492359 drivers/crypto/chelsio/chtls/chtls_main.c Vinay Kumar Yadav 2020-02-25  179  	struct adapter *adap;
df9d4a1780223c drivers/crypto/chelsio/chtls/chtls_main.c Atul Gupta        2018-12-11  180  
f21912edd15708 drivers/crypto/chelsio/chtls/chtls_main.c Jakub Kicinski    2019-10-03  181  	dev = container_of(kref, struct tls_toe_device, kref);
df9d4a1780223c drivers/crypto/chelsio/chtls/chtls_main.c Atul Gupta        2018-12-11  182  	cdev = to_chtls_dev(dev);
4e98a880492359 drivers/crypto/chelsio/chtls/chtls_main.c Vinay Kumar Yadav 2020-02-25  183  
4e98a880492359 drivers/crypto/chelsio/chtls/chtls_main.c Vinay Kumar Yadav 2020-02-25  184  	/* Reset tls rx/tx stats */
4e98a880492359 drivers/crypto/chelsio/chtls/chtls_main.c Vinay Kumar Yadav 2020-02-25  185  	adap = pci_get_drvdata(cdev->pdev);
4e98a880492359 drivers/crypto/chelsio/chtls/chtls_main.c Vinay Kumar Yadav 2020-02-25  186  	atomic_set(&adap->chcr_stats.tls_pdu_tx, 0);
4e98a880492359 drivers/crypto/chelsio/chtls/chtls_main.c Vinay Kumar Yadav 2020-02-25  187  	atomic_set(&adap->chcr_stats.tls_pdu_rx, 0);
4e98a880492359 drivers/crypto/chelsio/chtls/chtls_main.c Vinay Kumar Yadav 2020-02-25  188  
df9d4a1780223c drivers/crypto/chelsio/chtls/chtls_main.c Atul Gupta        2018-12-11  189  	chtls_free_uld(cdev);
df9d4a1780223c drivers/crypto/chelsio/chtls/chtls_main.c Atul Gupta        2018-12-11  190  }
df9d4a1780223c drivers/crypto/chelsio/chtls/chtls_main.c Atul Gupta        2018-12-11  191  
a089439478734a drivers/crypto/chelsio/chtls/chtls_main.c Atul Gupta        2018-03-31  192  static void chtls_register_dev(struct chtls_dev *cdev)
a089439478734a drivers/crypto/chelsio/chtls/chtls_main.c Atul Gupta        2018-03-31  193  {
f21912edd15708 drivers/crypto/chelsio/chtls/chtls_main.c Jakub Kicinski    2019-10-03  194  	struct tls_toe_device *tlsdev = &cdev->tlsdev;
a089439478734a drivers/crypto/chelsio/chtls/chtls_main.c Atul Gupta        2018-03-31  195  
f21912edd15708 drivers/crypto/chelsio/chtls/chtls_main.c Jakub Kicinski    2019-10-03  196  	strlcpy(tlsdev->name, "chtls", TLS_TOE_DEVICE_NAME_MAX);
a089439478734a drivers/crypto/chelsio/chtls/chtls_main.c Atul Gupta        2018-03-31  197  	strlcat(tlsdev->name, cdev->lldi->ports[0]->name,
f21912edd15708 drivers/crypto/chelsio/chtls/chtls_main.c Jakub Kicinski    2019-10-03  198  		TLS_TOE_DEVICE_NAME_MAX);
a089439478734a drivers/crypto/chelsio/chtls/chtls_main.c Atul Gupta        2018-03-31  199  	tlsdev->feature = chtls_inline_feature;
a089439478734a drivers/crypto/chelsio/chtls/chtls_main.c Atul Gupta        2018-03-31  200  	tlsdev->hash = chtls_create_hash;
a089439478734a drivers/crypto/chelsio/chtls/chtls_main.c Atul Gupta        2018-03-31  201  	tlsdev->unhash = chtls_destroy_hash;
df9d4a1780223c drivers/crypto/chelsio/chtls/chtls_main.c Atul Gupta        2018-12-11  202  	tlsdev->release = chtls_dev_release;
df9d4a1780223c drivers/crypto/chelsio/chtls/chtls_main.c Atul Gupta        2018-12-11  203  	kref_init(&tlsdev->kref);
f21912edd15708 drivers/crypto/chelsio/chtls/chtls_main.c Jakub Kicinski    2019-10-03 @204  	tls_toe_register_device(tlsdev);
65b2c12dcdb883 drivers/crypto/chelsio/chtls/chtls_main.c Ganesh Goudar     2018-08-10  205  	cdev->cdev_state = CHTLS_CDEV_STATE_UP;
a089439478734a drivers/crypto/chelsio/chtls/chtls_main.c Atul Gupta        2018-03-31  206  }
a089439478734a drivers/crypto/chelsio/chtls/chtls_main.c Atul Gupta        2018-03-31  207  

:::::: The code at line 165 was first introduced by commit
:::::: f21912edd1570818cbcb16bd1da7d7a2b122d66b net/tls: rename tls_device to tls_toe_device

:::::: TO: Jakub Kicinski <jakub.kicinski@xxxxxxxxxxxxx>
:::::: CC: David S. Miller <davem@xxxxxxxxxxxxx>

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

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux