include/linux/irq.h:744: undefined reference to `extcon_find_edev_by_node'

From: kernel test robot
Date: Fri Oct 23 2020 - 19:58:21 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 40a03b750bb3ded71a0f21a0b7dfbf3b24068dcb
commit: eff8728fe69880d3f7983bec3fb6cea4c306261f vmlinux.lds.h: Add PGO and AutoFDO input sections
date: 8 weeks ago
config: riscv-randconfig-r001-20201023 (attached as .config)
compiler: riscv64-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=eff8728fe69880d3f7983bec3fb6cea4c306261f
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout eff8728fe69880d3f7983bec3fb6cea4c306261f
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=riscv

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

All errors (new ones prefixed by >>):

riscv64-linux-ld: drivers/gpu/drm/bridge/sil-sii8620.o: in function `sii8620_remove':
drivers/gpu/drm/bridge/sil-sii8620.c:2354: undefined reference to `extcon_unregister_notifier'
riscv64-linux-ld: drivers/gpu/drm/bridge/sil-sii8620.o: in function `irq_set_status_flags':
>> include/linux/irq.h:744: undefined reference to `extcon_find_edev_by_node'
riscv64-linux-ld: drivers/gpu/drm/bridge/sil-sii8620.o: in function `IS_ERR':
>> include/linux/err.h:36: undefined reference to `extcon_register_notifier'
riscv64-linux-ld: drivers/gpu/drm/bridge/sil-sii8620.o: in function `lockdep_init_map_wait':
>> include/linux/lockdep.h:191: undefined reference to `extcon_get_state'

vim +744 include/linux/irq.h

442471848f5abb Thomas Gleixner 2010-09-28 741
442471848f5abb Thomas Gleixner 2010-09-28 742 static inline void irq_set_status_flags(unsigned int irq, unsigned long set)
442471848f5abb Thomas Gleixner 2010-09-28 743 {
442471848f5abb Thomas Gleixner 2010-09-28 @744 irq_modify_status(irq, 0, set);
442471848f5abb Thomas Gleixner 2010-09-28 745 }
442471848f5abb Thomas Gleixner 2010-09-28 746

:::::: The code at line 744 was first introduced by commit
:::::: 442471848f5abb55b99cba1229301655f67492b4 genirq: Provide status modifier

:::::: TO: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
:::::: CC: Thomas Gleixner <tglx@xxxxxxxxxxxxx>

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

Attachment: .config.gz
Description: application/gzip