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: <202203270155.TM6fFFRf-lkp@intel.com>
Date:   Sun, 27 Mar 2022 01:52:05 +0800
From:   kernel test robot <lkp@...el.com>
To:     Horatiu Vultur <horatiu.vultur@...rochip.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: sparx5_ethtool.c:undefined reference to `ptp_clock_index'

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   52d543b5497cf31d6baeb0bcfe5a5474c3238578
commit: 608111fc580fe9a1b9a2a35d5a4f92784274b0d5 net: sparx5: Implement get_ts_info
date:   3 weeks ago
config: arc-randconfig-r013-20220324 (https://download.01.org/0day-ci/archive/20220327/202203270155.TM6fFFRf-lkp@intel.com/config)
compiler: arc-elf-gcc (GCC) 11.2.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=608111fc580fe9a1b9a2a35d5a4f92784274b0d5
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 608111fc580fe9a1b9a2a35d5a4f92784274b0d5
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arc SHELL=/bin/bash

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 >>):

   arc-elf-ld: drivers/net/ethernet/microchip/sparx5/sparx5_ethtool.o: in function `sparx5_get_ts_info':
>> sparx5_ethtool.c:(.text+0x14a): undefined reference to `ptp_clock_index'
>> arc-elf-ld: sparx5_ethtool.c:(.text+0x14a): undefined reference to `ptp_clock_index'
   arc-elf-ld: drivers/net/ethernet/microchip/sparx5/sparx5_ptp.o: in function `sparx5_ptp_init':
   sparx5_ptp.c:(.text+0xd4a): undefined reference to `ptp_clock_register'
   arc-elf-ld: sparx5_ptp.c:(.text+0xd4a): undefined reference to `ptp_clock_register'
   arc-elf-ld: drivers/net/ethernet/microchip/sparx5/sparx5_ptp.o: in function `sparx5_ptp_deinit':
   sparx5_ptp.c:(.text+0xf28): undefined reference to `ptp_clock_unregister'
   arc-elf-ld: sparx5_ptp.c:(.text+0xf28): undefined reference to `ptp_clock_unregister'
   arc-elf-ld: sparx5_ptp.c:(.text+0xf30): undefined reference to `ptp_clock_unregister'
   arc-elf-ld: sparx5_ptp.c:(.text+0xf30): undefined reference to `ptp_clock_unregister'
   arc-elf-ld: sparx5_ptp.c:(.text+0xf3e): undefined reference to `ptp_clock_unregister'
   arc-elf-ld: drivers/net/ethernet/microchip/sparx5/sparx5_ptp.o:sparx5_ptp.c:(.text+0xf3e): more undefined references to `ptp_clock_unregister' follow

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ