nds32le-linux-ld: sil-sii8620.c:undefined reference to `extcon_unregister_notifier'

From: kernel test robot
Date: Sat Feb 27 2021 - 14:53:22 EST


Hi Masahiro,

FYI, the error/warning still remains.

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 5695e51619745d4fe3ec2506a2f0cd982c5e27a4
commit: def2fbffe62c00c330c7f41584a356001179c59c kconfig: allow symbols implied by y to become m
date: 12 months ago
config: nds32-randconfig-p002-20210228 (attached as .config)
compiler: nds32le-linux-gcc (GCC) 9.3.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=def2fbffe62c00c330c7f41584a356001179c59c
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout def2fbffe62c00c330c7f41584a356001179c59c
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=nds32

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

All errors (new ones prefixed by >>):

nds32le-linux-ld: drivers/gpu/drm/bridge/sil-sii8620.o: in function `sii8620_remove':
sil-sii8620.c:(.text+0x160): undefined reference to `extcon_unregister_notifier'
>> nds32le-linux-ld: sil-sii8620.c:(.text+0x164): undefined reference to `extcon_unregister_notifier'
nds32le-linux-ld: drivers/gpu/drm/bridge/sil-sii8620.o: in function `sii8620_probe':
sil-sii8620.c:(.text+0x2b68): undefined reference to `extcon_find_edev_by_node'
>> nds32le-linux-ld: sil-sii8620.c:(.text+0x2b6c): undefined reference to `extcon_find_edev_by_node'
>> nds32le-linux-ld: sil-sii8620.c:(.text+0x2be6): undefined reference to `extcon_register_notifier'
nds32le-linux-ld: sil-sii8620.c:(.text+0x2bea): undefined reference to `extcon_register_notifier'
nds32le-linux-ld: drivers/gpu/drm/bridge/sil-sii8620.o: in function `sii8620_extcon_work':
sil-sii8620.c:(.text+0x2c46): undefined reference to `extcon_get_state'
>> nds32le-linux-ld: sil-sii8620.c:(.text+0x2c4a): undefined reference to `extcon_get_state'

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip