lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 20 Oct 2015 16:00:39 +0800
From:	kbuild test robot <lkp@...el.com>
To:	Shawn Lin <shawn.lin@...k-chips.com>
Cc:	kbuild-all@...org, Ulf Hansson <ulf.hansson@...aro.org>,
	Michal Simek <michal.simek@...inx.com>,
	soren.brinkmann@...inx.com, linux-mmc@...r.kernel.org,
	linux-kernel@...r.kernel.org, Shawn Lin <shawn.lin@...k-chips.com>
Subject: Re: [PATCH v3 3/3] mmc: sdhci-of-arasan: add runtime pm support

Hi Shawn,

[auto build test ERROR on ulf.hansson-mmc/next -- if it's inappropriate base, please suggest rules for selecting the more suitable base]

url:    https://github.com/0day-ci/linux/commits/Shawn-Lin/Documentation-bindings-add-description-of-phy-for-sdhci-of-arasan/20151020-150853
config: i386-randconfig-i1-201542 (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   drivers/mmc/host/sdhci-of-arasan.c: In function 'sdhci_arasan_runtime_suspend':
>> drivers/mmc/host/sdhci-of-arasan.c:202:9: error: implicit declaration of function 'sdhci_arasan_suspend_phy' [-Werror=implicit-function-declaration]
      ret = sdhci_arasan_suspend_phy(sdhci_arasan->phy);
            ^
   drivers/mmc/host/sdhci-of-arasan.c: In function 'sdhci_arasan_runtime_resume':
>> drivers/mmc/host/sdhci-of-arasan.c:227:9: error: implicit declaration of function 'sdhci_arasan_resume_phy' [-Werror=implicit-function-declaration]
      ret = sdhci_arasan_resume_phy(sdhci_arasan->phy);
            ^
   cc1: some warnings being treated as errors

vim +/sdhci_arasan_suspend_phy +202 drivers/mmc/host/sdhci-of-arasan.c

   196	
   197		ret = sdhci_runtime_suspend_host(host);
   198		if (ret)
   199			return ret;
   200	
   201		if (!IS_ERR(sdhci_arasan->phy)) {
 > 202			ret = sdhci_arasan_suspend_phy(sdhci_arasan->phy);
   203			if (ret) {
   204				dev_err(dev, "Cannot suspend phy at runtime.\n");
   205				sdhci_runtime_resume_host(host);
   206				return ret;
   207			}
   208		}
   209	
   210		clk_disable_unprepare(sdhci_arasan->clk_ahb);
   211		clk_disable_unprepare(pltfm_host->clk);
   212	
   213		return 0;
   214	}
   215	
   216	static int sdhci_arasan_runtime_resume(struct device *dev)
   217	{
   218		struct sdhci_host *host = dev_get_drvdata(dev);
   219		struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host);
   220		struct sdhci_arasan_data *sdhci_arasan = pltfm_host->priv;
   221		int ret;
   222	
   223		clk_prepare_enable(pltfm_host->clk);
   224		clk_prepare_enable(sdhci_arasan->clk_ahb);
   225	
   226		if (!IS_ERR(sdhci_arasan->phy)) {
 > 227			ret = sdhci_arasan_resume_phy(sdhci_arasan->phy);
   228			if (ret) {
   229				dev_err(dev, "Cannot resume phy at runtime.\n");
   230				clk_disable_unprepare(sdhci_arasan->clk_ahb);

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

Download attachment ".config.gz" of type "application/octet-stream" (22567 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ