Hi Petko, I love your patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v5.9-rc6 next-20200925] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Petko-Manolov/utilize-the-new-control-message-send-and-receive-API/20200926-000418 base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 171d4ff79f965c1f164705ef0aaea102a6ad238b config: sh-allmodconfig (attached as .config) compiler: sh4-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://github.com/0day-ci/linux/commit/dc81887ca37bd0f3530fae6a7ab5979b30e0b21e git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Petko-Manolov/utilize-the-new-control-message-send-and-receive-API/20200926-000418 git checkout dc81887ca37bd0f3530fae6a7ab5979b30e0b21e # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=sh If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All error/warnings (new ones prefixed by >>): drivers/net/usb/rtl8150.c: In function 'get_registers': >> drivers/net/usb/rtl8150.c:155:2: error: 'ret' undeclared (first use in this function); did you mean 'net'? 155 | ret = usb_control_msg_recv(dev->udev, 0, RTL8150_REQ_GET_REGS, | ^~~ | net drivers/net/usb/rtl8150.c:155:2: note: each undeclared identifier is reported only once for each function it appears in drivers/net/usb/rtl8150.c:155:8: error: implicit declaration of function 'usb_control_msg_recv'; did you mean 'usb_control_msg'? [-Werror=implicit-function-declaration] 155 | ret = usb_control_msg_recv(dev->udev, 0, RTL8150_REQ_GET_REGS, | ^~~~~~~~~~~~~~~~~~~~ | usb_control_msg >> drivers/net/usb/rtl8150.c:158:1: warning: no return statement in function returning non-void [-Wreturn-type] 158 | } | ^ drivers/net/usb/rtl8150.c: In function 'set_registers': drivers/net/usb/rtl8150.c:162:2: error: 'ret' undeclared (first use in this function); did you mean 'net'? 162 | ret = usb_control_msg_send(dev->udev, 0, RTL8150_REQ_SET_REGS, | ^~~ | net drivers/net/usb/rtl8150.c:162:8: error: implicit declaration of function 'usb_control_msg_send'; did you mean 'usb_control_msg'? [-Werror=implicit-function-declaration] 162 | ret = usb_control_msg_send(dev->udev, 0, RTL8150_REQ_SET_REGS, | ^~~~~~~~~~~~~~~~~~~~ | usb_control_msg drivers/net/usb/rtl8150.c:165:1: warning: no return statement in function returning non-void [-Wreturn-type] 165 | } | ^ cc1: some warnings being treated as errors vim +155 drivers/net/usb/rtl8150.c 147 148 /* 149 ** 150 ** device related part of the code 151 ** 152 */ 153 static int get_registers(rtl8150_t * dev, u16 indx, u16 size, void *data) 154 { > 155 ret = usb_control_msg_recv(dev->udev, 0, RTL8150_REQ_GET_REGS, 156 RTL8150_REQT_READ, indx, 0, data, size, 157 1000, GFP_NOIO); > 158 } 159 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org