All of lore.kernel.org
 help / color / mirror / Atom feed
* [xlnx:master 11930/12427] drivers/usb/dwc3/core.c:1635: undefined reference to `dwc3_gadget_exit_hibernation'
@ 2021-09-05  2:17 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-09-05  2:17 UTC (permalink / raw)
  To: Manish Narani; +Cc: kbuild-all, linux-arm-kernel, Michal Simek

[-- Attachment #1: Type: text/plain, Size: 2377 bytes --]

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@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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 38292 bytes --]

[-- Attachment #3: Type: text/plain, Size: 176 bytes --]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [xlnx:master 11930/12427] drivers/usb/dwc3/core.c:1635: undefined reference to `dwc3_gadget_exit_hibernation'
@ 2021-09-05  2:17 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-09-05  2:17 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2445 bytes --]

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@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(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 38292 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-09-05  2:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-05  2:17 [xlnx:master 11930/12427] drivers/usb/dwc3/core.c:1635: undefined reference to `dwc3_gadget_exit_hibernation' kernel test robot
2021-09-05  2:17 ` kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.