All of lore.kernel.org
 help / color / mirror / Atom feed
* [xilinx-xlnx:xlnx_rebase_v5.15_LTS 357/1265] drivers/usb/dwc3/core.c:1987: undefined reference to `dwc3_gadget_exit_hibernation'
@ 2022-08-11  2:39 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-08-11  2:39 UTC (permalink / raw)
  To: Manish Narani; +Cc: kbuild-all, linux-arm-kernel, Michal Simek

Hi Manish,

FYI, the error/warning still remains.

tree:   https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.15_LTS
head:   86e63ba3941dcd378d7626b21ad31e779b40fa73
commit: abcfc28b4d344d18ab4e5100b96045ebc203259c [357/1265] usb: dwc3: gadget: Add hibernation support when operating in gadget mode
config: i386-randconfig-a003 (https://download.01.org/0day-ci/archive/20220811/202208111020.ELEkfWbs-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@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

_______________________________________________
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] only message in thread

only message in thread, other threads:[~2022-08-11  2:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-11  2:39 [xilinx-xlnx:xlnx_rebase_v5.15_LTS 357/1265] drivers/usb/dwc3/core.c:1987: undefined reference to `dwc3_gadget_exit_hibernation' 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.