tree:
https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git
char-misc-testing
head: 7c33e3c4c79ac5def79e7c773e38a7113eb14204
commit: 7a6ff4c4cbc3570a1ae483a833b3fb12b1a56a9d [35/47] misc: hisi_hikey_usb: Driver to
support onboard USB gpio hub on Hikey960
config: nds32-randconfig-m031-20200916 (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
git checkout 7a6ff4c4cbc3570a1ae483a833b3fb12b1a56a9d
# 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(a)intel.com>
All errors (new ones prefixed by >>):
nds32le-linux-ld: drivers/misc/hisi_hikey_usb.o: in function
`hisi_hikey_usb_remove':
> hisi_hikey_usb.c:(.text+0xe): undefined reference to
`usb_role_switch_unregister'
> nds32le-linux-ld: hisi_hikey_usb.c:(.text+0x12): undefined reference to
`usb_role_switch_unregister'
> nds32le-linux-ld: hisi_hikey_usb.c:(.text+0x1e): undefined reference to
`usb_role_switch_put'
nds32le-linux-ld: hisi_hikey_usb.c:(.text+0x22):
undefined reference to `usb_role_switch_put'
nds32le-linux-ld: drivers/misc/hisi_hikey_usb.o: in function
`hub_usb_role_switch_set':
> hisi_hikey_usb.c:(.text+0x36): undefined reference to
`usb_role_switch_get_drvdata'
> nds32le-linux-ld: hisi_hikey_usb.c:(.text+0x3a): undefined reference to
`usb_role_switch_get_drvdata'
nds32le-linux-ld:
drivers/misc/hisi_hikey_usb.o: in function `hisi_hikey_usb_probe':
> hisi_hikey_usb.c:(.text+0x180): undefined reference to
`usb_role_switch_get'
> nds32le-linux-ld: hisi_hikey_usb.c:(.text+0x184): undefined reference to
`usb_role_switch_get'
> nds32le-linux-ld: hisi_hikey_usb.c:(.text+0x208): undefined reference to
`usb_role_switch_register'
nds32le-linux-ld: hisi_hikey_usb.c:(.text+0x20c):
undefined reference to `usb_role_switch_register'
nds32le-linux-ld: hisi_hikey_usb.c:(.text+0x226): undefined reference to
`usb_role_switch_put'
nds32le-linux-ld: hisi_hikey_usb.c:(.text+0x22a): undefined reference to
`usb_role_switch_put'
nds32le-linux-ld: drivers/misc/hisi_hikey_usb.o: in function
`relay_set_role_switch':
> hisi_hikey_usb.c:(.text+0x2cc): undefined reference to
`usb_role_switch_set_role'
> nds32le-linux-ld: hisi_hikey_usb.c:(.text+0x2d0): undefined reference to
`usb_role_switch_set_role'
nds32le-linux-ld: arch/nds32/kernel/ex-entry.o: in
function `common_exception_handler':
(.text+0xfe): undefined reference to `__trace_hardirqs_off'
(.text+0xfe): relocation truncated to fit: R_NDS32_25_PCREL_RELA against undefined
symbol `__trace_hardirqs_off'
nds32le-linux-ld: arch/nds32/kernel/ex-exit.o: in function `no_work_pending':
(.text+0xce): undefined reference to `__trace_hardirqs_off'
nds32le-linux-ld: (.text+0xd2): undefined reference to `__trace_hardirqs_off'
nds32le-linux-ld: (.text+0xd6): undefined reference to `__trace_hardirqs_on'
nds32le-linux-ld: (.text+0xda): undefined reference to `__trace_hardirqs_on'
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org