[ammarfaizi2-block:robh/linux/dt/pop-pci-nodes 2/2] ia64-linux-ld: of.c:undefined reference to `of_attach_node'

From: kernel test robot
Date: Wed Apr 06 2022 - 11:39:48 EST


tree: https://github.com/ammarfaizi2/linux-block robh/linux/dt/pop-pci-nodes
head: b9198a9525a97d05b0bb2a7282fede92d7d2d93d
commit: b9198a9525a97d05b0bb2a7282fede92d7d2d93d [2/2] PCI: Create DT nodes if they don't exist
config: ia64-randconfig-r025-20220406 (https://download.01.org/0day-ci/archive/20220406/202204062042.zlTRFO9x-lkp@xxxxxxxxx/config)
compiler: ia64-linux-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://github.com/ammarfaizi2/linux-block/commit/b9198a9525a97d05b0bb2a7282fede92d7d2d93d
git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
git fetch --no-tags ammarfaizi2-block robh/linux/dt/pop-pci-nodes
git checkout b9198a9525a97d05b0bb2a7282fede92d7d2d93d
# 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=ia64 SHELL=/bin/bash

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

All errors (new ones prefixed by >>):

ia64-linux-ld: drivers/pci/of.o: in function `make_dev_node':
of.c:(.text+0x1a72): undefined reference to `of_attach_node'
>> ia64-linux-ld: of.c:(.text+0x1b62): undefined reference to `of_attach_node'
ia64-linux-ld: drivers/pci/of.o: in function `make_bus_node':
of.c:(.text+0x1c62): undefined reference to `of_attach_node'
ia64-linux-ld: drivers/pci/of.o: in function `pci_set_bus_of_node':
of.c:(.text+0x1ff2): undefined reference to `of_attach_node'

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