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: <202211041815.b4bLm817-lkp@intel.com>
Date:   Fri, 4 Nov 2022 18:53:16 +0800
From:   kernel test robot <lkp@...el.com>
To:     Subbaraya Sundeep <sbhatta@...vell.com>
Cc:     oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org,
        Sunil Goutham <sgoutham@...vell.com>
Subject: drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:2995: undefined
 reference to `cn10k_mcs_free'

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   ee6050c8af96bba2f81e8b0793a1fc2f998fcd20
commit: c54ffc73601c0a239e55911923a6e23a2a74f143 octeontx2-pf: mcs: Introduce MACSEC hardware offloading
date:   5 weeks ago
config: arm64-randconfig-r012-20221104
compiler: aarch64-linux-gcc (GCC) 12.1.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/torvalds/linux.git/commit/?id=c54ffc73601c0a239e55911923a6e23a2a74f143
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout c54ffc73601c0a239e55911923a6e23a2a74f143
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@...el.com>

All errors (new ones prefixed by >>):

   aarch64-linux-ld: Unexpected GOT/PLT entries detected!
   aarch64-linux-ld: Unexpected run-time procedure linkages detected!
   aarch64-linux-ld: ID map text too big or misaligned
   aarch64-linux-ld: drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.o: in function `otx2_remove':
>> drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:2995: undefined reference to `cn10k_mcs_free'
   aarch64-linux-ld: drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.o: in function `otx2_probe':
>> drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:2777: undefined reference to `cn10k_mcs_init'
   aarch64-linux-ld: drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.o: in function `otx2_mbox_up_handler_mcs_intr_notify':
>> drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:865: undefined reference to `cn10k_handle_mcs_event'
>> aarch64-linux-ld: drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:865: undefined reference to `cn10k_handle_mcs_event'


vim +2995 drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c

  2969	
  2970	static void otx2_remove(struct pci_dev *pdev)
  2971	{
  2972		struct net_device *netdev = pci_get_drvdata(pdev);
  2973		struct otx2_nic *pf;
  2974	
  2975		if (!netdev)
  2976			return;
  2977	
  2978		pf = netdev_priv(netdev);
  2979	
  2980		pf->flags |= OTX2_FLAG_PF_SHUTDOWN;
  2981	
  2982		if (pf->flags & OTX2_FLAG_TX_TSTAMP_ENABLED)
  2983			otx2_config_hw_tx_tstamp(pf, false);
  2984		if (pf->flags & OTX2_FLAG_RX_TSTAMP_ENABLED)
  2985			otx2_config_hw_rx_tstamp(pf, false);
  2986	
  2987		/* Disable 802.3x pause frames */
  2988		if (pf->flags & OTX2_FLAG_RX_PAUSE_ENABLED ||
  2989		    (pf->flags & OTX2_FLAG_TX_PAUSE_ENABLED)) {
  2990			pf->flags &= ~OTX2_FLAG_RX_PAUSE_ENABLED;
  2991			pf->flags &= ~OTX2_FLAG_TX_PAUSE_ENABLED;
  2992			otx2_config_pause_frm(pf);
  2993		}
  2994	
> 2995		cn10k_mcs_free(pf);
  2996	

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

View attachment "config" of type "text/plain" (201424 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ