From: kernel test robot <lkp@intel.com>
To: Horatiu Vultur <horatiu.vultur@microchip.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org
Subject: sparx5_ptp.c:undefined reference to `ptp_clock_register'
Date: Sat, 26 Mar 2022 21:57:39 +0800 [thread overview]
Message-ID: <202203262159.99fOYx0b-lkp@intel.com> (raw)
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
reply other threads:[~2022-03-26 13: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=202203262159.99fOYx0b-lkp@intel.com \
--to=lkp@intel.com \
--cc=horatiu.vultur@microchip.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
/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