Re: [PATCH 3/3] mmc: sdhci-cadence: add suspend / resume support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Masahiro,

[auto build test ERROR on linus/master]
[also build test ERROR on v4.13-rc3 next-20170802]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Masahiro-Yamada/mmc-sdhci-enable-disable-the-clock-in-sdhci_pltfm_suspend-resume/20170801-021149
config: openrisc-allyesconfig (attached as .config)
compiler: or1k-linux-gcc (GCC) 5.4.0
reproduce:
        wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=openrisc 

All errors (new ones prefixed by >>):

   drivers/mmc//host/sdhci-cadence.c: In function 'sdhci_cdns_resume':
>> drivers/mmc//host/sdhci-cadence.c:408:9: error: implicit declaration of function 'sdhci_resume_host' [-Werror=implicit-function-declaration]
     return sdhci_resume_host(host);
            ^
   cc1: some warnings being treated as errors

vim +/sdhci_resume_host +408 drivers/mmc//host/sdhci-cadence.c

   392	
   393	static int __maybe_unused sdhci_cdns_resume(struct device *dev)
   394	{
   395		struct sdhci_host *host = dev_get_drvdata(dev);
   396		struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host);
   397		struct sdhci_cdns_priv *priv = sdhci_pltfm_priv(pltfm_host);
   398		int ret;
   399	
   400		ret = clk_prepare_enable(pltfm_host->clk);
   401		if (ret)
   402			return ret;
   403	
   404		ret = sdhci_cdns_phy_init(priv);
   405		if (ret)
   406			return ret;
   407	
 > 408		return sdhci_resume_host(host);
   409	}
   410	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux