Hi Jiahau,

[auto build test ERROR on usb/usb-testing]
[also build test ERROR on v4.12-rc5 next-20170615]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improve the system]

url:    
https://github.com/0day-ci/linux/commits/Jiahau-Chang/xhci-Bad-Ethernet-performance-plugged-in-ASM1042A-host/20170615-172908
base:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git 
usb-testing
config: i386-randconfig-x013-06151144 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   drivers/usb/host/pci-quirks.c: In function 'usb_asmedia_modifyflowcontrol':
>> drivers/usb/host/pci-quirks.c:441:3: error: implicit declaration of function 
>> 'usleep' [-Werror=implicit-function-declaration]
      usleep(50);
      ^~~~~~
   cc1: some warnings being treated as errors

vim +/usleep +441 drivers/usb/host/pci-quirks.c

   435                          dev_dbg(&pdev->dev, "%s: check_ready ERROR", 
__func__);
   436                          goto err_exit;
   437                  }
   438                  if ((value & ASMT_CONTROL_WRITE_BIT) == 0)
   439                          break;
   440                  wait_time_count--;
 > 441                  usleep(50);
   442          }
   443          if (wait_time_count == 0) {
   444                  dev_dbg(&pdev->dev, "%s: check_write_ready timeout", 
__func__);

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip

Reply via email to