All of lore.kernel.org
 help / color / mirror / Atom feed
* [thierryreding:for-5.11/suspend 18/23] drivers/usb/host/xhci-tegra.c:2179:8: error: implicit declaration of function 'tegra_xusb_enter_elpg'; did you mean
@ 2020-11-13 23:29 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-11-13 23:29 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://github.com/thierryreding/linux for-5.11/suspend
head:   00480d8a4afba78936d3a3ca2c4272538affb838
commit: b8561a2e4c1332363e61ebf6f2b04a8aaee8cfeb [18/23] xhci: tegra: Enable ELPG for runtime/system PM
config: arm64-randconfig-r015-20201113 (attached as .config)
compiler: aarch64-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://github.com/thierryreding/linux/commit/b8561a2e4c1332363e61ebf6f2b04a8aaee8cfeb
        git remote add thierryreding https://github.com/thierryreding/linux
        git fetch --no-tags thierryreding for-5.11/suspend
        git checkout b8561a2e4c1332363e61ebf6f2b04a8aaee8cfeb
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm64 

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 >>):

   drivers/usb/host/xhci-tegra.c: In function 'tegra_xusb_runtime_suspend':
>> drivers/usb/host/xhci-tegra.c:2179:8: error: implicit declaration of function 'tegra_xusb_enter_elpg'; did you mean 'tegra_pm_enter_lp2'? [-Werror=implicit-function-declaration]
    2179 |  ret = tegra_xusb_enter_elpg(tegra, true);
         |        ^~~~~~~~~~~~~~~~~~~~~
         |        tegra_pm_enter_lp2
   drivers/usb/host/xhci-tegra.c: In function 'tegra_xusb_runtime_resume':
>> drivers/usb/host/xhci-tegra.c:2191:8: error: implicit declaration of function 'tegra_xusb_exit_elpg'; did you mean 'tegra_xusb_get_phy'? [-Werror=implicit-function-declaration]
    2191 |  err = tegra_xusb_exit_elpg(tegra, true);
         |        ^~~~~~~~~~~~~~~~~~~~
         |        tegra_xusb_get_phy
   At top level:
   drivers/usb/host/xhci-tegra.c:1285:13: warning: 'is_host_mode_phy' defined but not used [-Wunused-function]
    1285 | static bool is_host_mode_phy(struct tegra_xusb *tegra, unsigned int phy_type, unsigned int index)
         |             ^~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors

vim +2179 drivers/usb/host/xhci-tegra.c

  2170	
  2171	#ifdef CONFIG_PM
  2172	static int tegra_xusb_runtime_suspend(struct device *dev)
  2173	{
  2174		struct tegra_xusb *tegra = dev_get_drvdata(dev);
  2175		int ret;
  2176	
  2177		synchronize_irq(tegra->mbox_irq);
  2178		mutex_lock(&tegra->lock);
> 2179		ret = tegra_xusb_enter_elpg(tegra, true);
  2180		mutex_unlock(&tegra->lock);
  2181	
  2182		return ret;
  2183	}
  2184	
  2185	static int tegra_xusb_runtime_resume(struct device *dev)
  2186	{
  2187		struct tegra_xusb *tegra = dev_get_drvdata(dev);
  2188		int err;
  2189	
  2190		mutex_lock(&tegra->lock);
> 2191		err = tegra_xusb_exit_elpg(tegra, true);
  2192		mutex_unlock(&tegra->lock);
  2193	
  2194		return err;
  2195	}
  2196	#endif
  2197	

---
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: 33238 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-11-13 23:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-13 23:29 [thierryreding:for-5.11/suspend 18/23] drivers/usb/host/xhci-tegra.c:2179:8: error: implicit declaration of function 'tegra_xusb_enter_elpg'; did you mean 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.