From: kernel test robot <lkp@intel.com>
To: Manish Narani <manish.narani@xilinx.com>
Cc: kbuild-all@lists.01.org, linux-arm-kernel@lists.infradead.org,
Michal Simek <monstr@monstr.eu>
Subject: [xlnx:master 11930/12427] drivers/usb/dwc3/core.c:1635: undefined reference to `dwc3_gadget_exit_hibernation'
Date: Sun, 5 Sep 2021 10:17:03 +0800 [thread overview]
Message-ID: <202109051000.fcOb3aKs-lkp@intel.com> (raw)
[-- 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
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [xlnx:master 11930/12427] drivers/usb/dwc3/core.c:1635: undefined reference to `dwc3_gadget_exit_hibernation'
Date: Sun, 05 Sep 2021 10:17:03 +0800 [thread overview]
Message-ID: <202109051000.fcOb3aKs-lkp@intel.com> (raw)
[-- 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 --]
next reply other threads:[~2021-09-05 2:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-05 2:17 kernel test robot [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202109051000.fcOb3aKs-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=manish.narani@xilinx.com \
--cc=monstr@monstr.eu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.