Re: [PATCH net-next v1 1/1] usbnet: add devlink support

From: kernel test robot
Date: Thu Jan 27 2022 - 15:00:16 EST


Hi Oleksij,

I love your patch! Yet something to improve:

[auto build test ERROR on net-next/master]

url: https://github.com/0day-ci/linux/commits/Oleksij-Rempel/usbnet-add-devlink-support/20220127-190839
base: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git fbb8295248e1d6f576d444309fcf79356008eac1
config: i386-randconfig-a005 (https://download.01.org/0day-ci/archive/20220128/202201280314.xHmPCOVw-lkp@xxxxxxxxx/config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://github.com/0day-ci/linux/commit/edbd83152011a64e9d01a65864999e915e1b5561
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Oleksij-Rempel/usbnet-add-devlink-support/20220127-190839
git checkout edbd83152011a64e9d01a65864999e915e1b5561
# save the config file to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash

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: missing MODULE_LICENSE() in drivers/net/usb/usbnet-devlink.o
>> ERROR: modpost: "usbnet_usb_rx_health_report" [drivers/net/usb/usbnet.ko] undefined!
>> ERROR: modpost: "usbnet_usb_tx_health_report" [drivers/net/usb/usbnet.ko] undefined!
>> ERROR: modpost: "usbnet_usb_ctrl_health_report" [drivers/net/usb/usbnet.ko] undefined!
>> ERROR: modpost: "usbnet_devlink_register" [drivers/net/usb/usbnet.ko] undefined!
>> ERROR: modpost: "usbnet_devlink_alloc" [drivers/net/usb/usbnet.ko] undefined!
>> ERROR: modpost: "usbnet_devlink_free" [drivers/net/usb/usbnet.ko] undefined!
>> ERROR: modpost: "usbnet_devlink_unregister" [drivers/net/usb/usbnet.ko] undefined!
>> ERROR: modpost: "usbnet_usb_intr_health_report" [drivers/net/usb/usbnet.ko] undefined!

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