[xlnx:master 11930/12427] drivers/usb/dwc3/core.c:1635: undefined reference to `dwc3_gadget_exit_hibernation'
kernel test robot
lkp at intel.com
Sat Sep 4 19:17:03 PDT 2021
tree: https://github.com/Xilinx/linux-xlnx master
head: 4d2bbafd05b02d8d9399abc6a14c870ccc1f8c6e
commit: 719080ff0022e05bb4cb8043d62739feebcd8dbc [11930/12427] usb: dwc3: gadget: Add hibernation support when operating in gadget mode
config: i386-randconfig-a002-20210904 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://github.com/Xilinx/linux-xlnx/commit/719080ff0022e05bb4cb8043d62739feebcd8dbc
git remote add xlnx https://github.com/Xilinx/linux-xlnx
git fetch --no-tags xlnx master
git checkout 719080ff0022e05bb4cb8043d62739feebcd8dbc
# save the attached .config 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 at intel.com>
All errors (new ones prefixed by >>):
ld: drivers/usb/dwc3/core.o: in function `dwc3_remove':
>> drivers/usb/dwc3/core.c:1635: undefined reference to `dwc3_gadget_exit_hibernation'
ld: drivers/rtc/rtc-zynqmp.o: in function `xlnx_rtc_read_offset':
drivers/rtc/rtc-zynqmp.c:198: undefined reference to `__divdi3'
ld: drivers/rtc/rtc-zynqmp.o: in function `xlnx_rtc_set_offset':
drivers/rtc/rtc-zynqmp.c:223: undefined reference to `__divdi3'
vim +1635 drivers/usb/dwc3/core.c
1622
1623 static int dwc3_remove(struct platform_device *pdev)
1624 {
1625 struct dwc3 *dwc = platform_get_drvdata(pdev);
1626
1627 pm_runtime_get_sync(&pdev->dev);
1628
1629 if (dwc->is_hibernated) {
1630 /*
1631 * As we are about to get removed, wake the controller from
1632 * D3 & hibernation states
1633 */
1634 dwc->force_hiber_wake = true;
> 1635 dwc3_gadget_exit_hibernation(dwc);
1636 dwc->force_hiber_wake = false;
1637 }
1638
1639 dwc3_debugfs_exit(dwc);
1640 dwc3_core_exit_mode(dwc);
1641
1642 dwc3_core_exit(dwc);
1643 dwc3_ulpi_exit(dwc);
1644
1645 pm_runtime_disable(&pdev->dev);
1646 pm_runtime_put_noidle(&pdev->dev);
1647 pm_runtime_set_suspended(&pdev->dev);
1648
1649 dwc3_free_event_buffers(dwc);
1650 dwc3_free_scratch_buffers(dwc);
1651
1652 return 0;
1653 }
1654
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 38292 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20210905/19ba4fc8/attachment-0001.gz>
More information about the linux-arm-kernel
mailing list