mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Shawn Lin <shawn.lin@rock-chips.com>
Cc: kbuild-all@01.org, Ulf Hansson <ulf.hansson@linaro.org>,
	Michal Simek <michal.simek@xilinx.com>,
	soren.brinkmann@xilinx.com, linux-mmc@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	Shawn Lin <shawn.lin@rock-chips.com>
Subject: Re: [PATCH v3 3/3] mmc: sdhci-of-arasan: add runtime pm support
Date: Tue, 20 Oct 2015 16:00:39 +0800	[thread overview]
Message-ID: <201510201557.s7FDJWIa%fengguang.wu@intel.com> (raw)
In-Reply-To: <1445324727-31448-1-git-send-email-shawn.lin@rock-chips.com>

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

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

[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 22567 bytes --]

  reply	other threads:[~2015-10-20  8:01 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-20  7:05 Shawn Lin
2015-10-20  8:00 ` kbuild test robot [this message]
2015-10-20  8:03 ` Michal Simek
2015-10-20  8:41   ` Shawn Lin
2015-10-20  9:19 ` Ulf Hansson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201510201557.s7FDJWIa%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mmc@vger.kernel.org \
    --cc=michal.simek@xilinx.com \
    --cc=shawn.lin@rock-chips.com \
    --cc=soren.brinkmann@xilinx.com \
    --cc=ulf.hansson@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome