[xilinx-xlnx:xlnx_rebase_v5.15_LTS 357/1163] drivers/usb/dwc3/core.c:1987: undefined reference to `dwc3_gadget_exit_hibernation'
kernel test robot
lkp at intel.com
Tue Jun 14 04:36:47 PDT 2022
Hi Manish,
FYI, the error/warning still remains.
tree: https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.15_LTS
head: 532c121dece3ee3ce664d339cc37144ffc1333aa
commit: abcfc28b4d344d18ab4e5100b96045ebc203259c [357/1163] usb: dwc3: gadget: Add hibernation support when operating in gadget mode
config: i386-randconfig-a013-20220613 (https://download.01.org/0day-ci/archive/20220614/202206141902.CuKCYgIu-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-3) 11.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
mkdir build_dir && cp config build_dir/.config
make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable
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
https://01.org/lkp
More information about the linux-arm-kernel
mailing list