[xilinx-xlnx:xlnx_rebase_v5.15_LTS 357/936] drivers/usb/dwc3/core.c:1987: undefined reference to `dwc3_gadget_exit_hibernation'
kernel test robot
lkp at intel.com
Thu Feb 17 18:36:17 PST 2022
tree: https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.15_LTS
head: 886c70d87387be99d999c90f7fe576273cdb8a7b
commit: abcfc28b4d344d18ab4e5100b96045ebc203259c [357/936] usb: dwc3: gadget: Add hibernation support when operating in gadget mode
config: i386-randconfig-a003 (https://download.01.org/0day-ci/archive/20220218/202202181053.KpCBmnuh-lkp@intel.com/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/abcfc28b4d344d18ab4e5100b96045ebc203259c
git remote add xilinx-xlnx https://github.com/Xilinx/linux-xlnx
git fetch --no-tags xilinx-xlnx xlnx_rebase_v5.15_LTS
git checkout abcfc28b4d344d18ab4e5100b96045ebc203259c
# save the config file 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_suspend':
>> drivers/usb/dwc3/core.c:1987: undefined reference to `dwc3_gadget_exit_hibernation'
ld: drivers/usb/dwc3/core.o: in function `dwc3_remove':
drivers/usb/dwc3/core.c:1718: undefined reference to `dwc3_gadget_exit_hibernation'
vim +1987 drivers/usb/dwc3/core.c
1974
1975 #ifdef CONFIG_PM_SLEEP
1976 static int dwc3_suspend(struct device *dev)
1977 {
1978 struct dwc3 *dwc = dev_get_drvdata(dev);
1979 int ret;
1980
1981 if (dwc->is_hibernated) {
1982 /*
1983 * As we are about to suspend, wake the controller from
1984 * D3 & hibernation states
1985 */
1986 dwc->force_hiber_wake = true;
> 1987 dwc3_gadget_exit_hibernation(dwc);
1988 dwc->force_hiber_wake = false;
1989 }
1990
1991 ret = dwc3_suspend_common(dwc, PMSG_SUSPEND);
1992 if (ret)
1993 return ret;
1994
1995 pinctrl_pm_select_sleep_state(dev);
1996
1997 return 0;
1998 }
1999
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
More information about the linux-arm-kernel
mailing list