public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* sparx5_ptp.c:undefined reference to `ptp_clock_register'
@ 2022-03-26 13:57 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-03-26 13:57 UTC (permalink / raw)
  To: Horatiu Vultur; +Cc: kbuild-all, linux-kernel

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   52d543b5497cf31d6baeb0bcfe5a5474c3238578
commit: 0933bd04047c3b96ba49545a8f91e7e6f8f666ff net: sparx5: Add support for ptp clocks
date:   3 weeks ago
config: arc-randconfig-r013-20220324 (https://download.01.org/0day-ci/archive/20220326/202203262159.99fOYx0b-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=0933bd04047c3b96ba49545a8f91e7e6f8f666ff
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 0933bd04047c3b96ba49545a8f91e7e6f8f666ff
        # 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@intel.com>

All errors (new ones prefixed by >>):

   arc-elf-ld: drivers/net/ethernet/microchip/sparx5/sparx5_ptp.o: in function `sparx5_ptp_init':
>> sparx5_ptp.c:(.text+0x758): undefined reference to `ptp_clock_register'
>> arc-elf-ld: sparx5_ptp.c:(.text+0x758): 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+0x8b2): undefined reference to `ptp_clock_unregister'
>> arc-elf-ld: sparx5_ptp.c:(.text+0x8b2): undefined reference to `ptp_clock_unregister'
   arc-elf-ld: sparx5_ptp.c:(.text+0x8ba): undefined reference to `ptp_clock_unregister'
   arc-elf-ld: sparx5_ptp.c:(.text+0x8ba): undefined reference to `ptp_clock_unregister'
   arc-elf-ld: sparx5_ptp.c:(.text+0x8c6): undefined reference to `ptp_clock_unregister'
   arc-elf-ld: drivers/net/ethernet/microchip/sparx5/sparx5_ptp.o:sparx5_ptp.c:(.text+0x8c6): more undefined references to `ptp_clock_unregister' follow

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-03-26 13:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-26 13:57 sparx5_ptp.c:undefined reference to `ptp_clock_register' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox