Re: [PATCH v2] of: use hash based search in of_find_node_by_phandle

From: kbuild test robot
Date: Fri Jan 26 2018 - 18:12:30 EST


Hi Chintan,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on robh/for-next]
[also build test ERROR on v4.15-rc9 next-20180126]
[cannot apply to glikely/devicetree/next]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url: https://github.com/0day-ci/linux/commits/Chintan-Pandya/of-use-hash-based-search-in-of_find_node_by_phandle/20180127-043814
base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next
config: sparc64-defconfig (attached as .config)
compiler: sparc64-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=sparc64

All errors (new ones prefixed by >>):

drivers/of/base.o: In function `of_find_node_by_phandle':
>> base.c:(.text+0x5ec): undefined reference to `dt_hash_spinlock'
base.c:(.text+0x5f4): undefined reference to `dt_hash_spinlock'
base.c:(.text+0x5fc): undefined reference to `dt_hash_table'
base.c:(.text+0x604): undefined reference to `dt_hash_table'
base.c:(.text+0x61c): undefined reference to `dt_hash_spinlock'
base.c:(.text+0x628): undefined reference to `dt_hash_spinlock'
base.c:(.text+0x64c): undefined reference to `dt_hash_spinlock'

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: application/gzip