[balbi-usb:testing/next 64/67] drivers/usb/chipidea/otg.c:104: undefined reference to `usb_gadget_vbus_disconnect'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git testing/next
head:   89fe2b5ab11cdf6a67d4492d893e70e330aa7060
commit: 231b31ca34485552fe27e67dc6d30d06079c7648 [64/67] usb: gadget: move gadget API functions to udc-core
config: arm-multi_v5_defconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 5.3.1-8) 5.3.1 20160205
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 231b31ca34485552fe27e67dc6d30d06079c7648
        # save the attached .config to linux build tree
        make.cross ARCH=arm 

All errors (new ones prefixed by >>):

   make[2]: Warning: File '/usr/lib/gcc-cross/arm-linux-gnueabi/5/include/stdarg.h' has modification time 444123703 s in the future
   make[2]: warning:  Clock skew detected.  Your build may be incomplete.
   drivers/built-in.o: In function `ci_handle_vbus_change':
>> drivers/usb/chipidea/otg.c:104: undefined reference to `usb_gadget_vbus_disconnect'
>> drivers/usb/chipidea/otg.c:102: undefined reference to `usb_gadget_vbus_connect'

vim +104 drivers/usb/chipidea/otg.c

a107f8c5 Peter Chen 2013-08-14   96  void ci_handle_vbus_change(struct ci_hdrc *ci)
a107f8c5 Peter Chen 2013-08-14   97  {
a107f8c5 Peter Chen 2013-08-14   98  	if (!ci->is_otg)
a107f8c5 Peter Chen 2013-08-14   99  		return;
a107f8c5 Peter Chen 2013-08-14  100  
0c33bf78 Li Jun     2014-04-23  101  	if (hw_read_otgsc(ci, OTGSC_BSV))
a107f8c5 Peter Chen 2013-08-14 @102  		usb_gadget_vbus_connect(&ci->gadget);
a107f8c5 Peter Chen 2013-08-14  103  	else
a107f8c5 Peter Chen 2013-08-14 @104  		usb_gadget_vbus_disconnect(&ci->gadget);
a107f8c5 Peter Chen 2013-08-14  105  }
a107f8c5 Peter Chen 2013-08-14  106  
22fa8445 Peter Chen 2013-08-14  107  #define CI_VBUS_STABLE_TIMEOUT_MS 5000

:::::: The code at line 104 was first introduced by commit
:::::: a107f8c505cd8606ae192d24c70b380e980fbe67 usb: chipidea: add vbus interrupt handler

:::::: TO: Peter Chen <peter.chen@xxxxxxxxxxxxx>
:::::: CC: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>

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

Attachment: .config.gz
Description: Binary data


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux