ERROR: modpost: "uio_unregister_device" undefined!

From: kernel test robot
Date: Thu Feb 18 2021 - 09:22:16 EST


Hi Randy,

FYI, the error/warning still remains.

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: f40ddce88593482919761f74910f42f4b84c004b
commit: 14483cbf040fcb38113497161088a1ce8ce5d713 net: broadcom CNIC: requires MMU
date: 3 months ago
config: arm-randconfig-r013-20210218 (attached as .config)
compiler: arm-linux-gnueabi-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=14483cbf040fcb38113497161088a1ce8ce5d713
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 14483cbf040fcb38113497161088a1ce8ce5d713
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm

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

All errors (new ones prefixed by >>, old ones prefixed by <<):

>> ERROR: modpost: "uio_unregister_device" [drivers/net/ethernet/broadcom/cnic.ko] undefined!
>> ERROR: modpost: "uio_event_notify" [drivers/net/ethernet/broadcom/cnic.ko] undefined!
>> ERROR: modpost: "__uio_register_device" [drivers/net/ethernet/broadcom/cnic.ko] undefined!

Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for CNIC
Depends on NETDEVICES && ETHERNET && NET_VENDOR_BROADCOM && PCI && (IPV6 || IPV6 && MMU
Selected by
- SCSI_BNX2X_FCOE && SCSI_LOWLEVEL && SCSI && PCI && (IPV6 || IPV6 && LIBFC && LIBFCOE

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

Attachment: .config.gz
Description: application/gzip