Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3582569imm; Sun, 29 Jul 2018 23:03:38 -0700 (PDT) X-Google-Smtp-Source: AAOMgpc+Q6PYX19E0xgHZ2sGq8cZ9K+BX2OgTyBjx8ZjDHojxfoWeeq/XHWVPQeO31KbQ86fGpBw X-Received: by 2002:a17:902:a989:: with SMTP id bh9-v6mr15382902plb.245.1532930618740; Sun, 29 Jul 2018 23:03:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532930618; cv=none; d=google.com; s=arc-20160816; b=yH2QE6NcY3Ug0TVhXfMEHyCyRBwRUQ+eTAx44iNAA0LLwwxjpJD3oD4Rz298N/stpe B1q1a2thA/jB+QQsc7knuBtc0fjn/psD8g3/yA9m++I/THHq3dMWKxh6Aa5ngoBSFiUl bnUx3mCKIFAvGUxUCKd5dWb+2Z0ucF9rS321iaDMJ3WxdZyJ9dlgmKfKcsthx1fLYMgW BbbNKtxytKg43ylukrYVTPRlZgR/SKbcc6hX2Es5CtCVnB2nKrbcKiOn7j7fRAuY2BnG VJmZKy5Tdzai5Gk6KqZgNJwGcSUwrABtDqWfMQFuYThOG+MFhTerCQ9HGEo/0LuEqvsy O72g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=He6rn8Dy27f1OfdbJEFPcxmz75mB3lXESNy+wxrfC54=; b=klkv4qMFdo1AjO1xlxMYWW10d8iN/GOl/yC+DTr1Ei1NcPAgKfzVuqWZ+0NR3E/0lL 0sg3ELCja11RtuP/QR45RFZcdzxROGPSNzbtgFWiLddf+uLb6XwVZkD0PRqtJJa4Sizh oul3bWg/lpfFN9r5GDyiCOWH3/hM9XBUeWE4V2z5Pj9+Jn0AycWtbuD4stnGz2J4hMGC vqm1y65homIxnSenRuEgrUK4fgCtaA/U4IKrljHQoUAF9n8VriURs58tvAp0N3TIPCb7 ZLgCu4NqnWTAfo4U3bcrppNyeE4aeU1IbFs3RX3qetyFy6mXs6AmcNvkSPm+MXS3BMra Ng/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=dfh3mBZw; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 38-v6si9543764pln.92.2018.07.29.23.03.24; Sun, 29 Jul 2018 23:03:38 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=dfh3mBZw; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726529AbeG3Hf4 (ORCPT + 99 others); Mon, 30 Jul 2018 03:35:56 -0400 Received: from mail-oi0-f66.google.com ([209.85.218.66]:39359 "EHLO mail-oi0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726393AbeG3Hf4 (ORCPT ); Mon, 30 Jul 2018 03:35:56 -0400 Received: by mail-oi0-f66.google.com with SMTP id d189-v6so19110176oib.6 for ; Sun, 29 Jul 2018 23:02:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=He6rn8Dy27f1OfdbJEFPcxmz75mB3lXESNy+wxrfC54=; b=dfh3mBZwOoUH6HP0/Y3Aiqveq83aEJv7lqletd4GqHykODaIuU/gW1+RfYp7MlONp3 atc0iojx8aI6bAkKqCgo0zAN4hxDhktq4XRtpB90bZA81pwud1ZUMDXpqBQhpbnTftgf bYxTYUmVAcRrDqPG+JN2WYI3eahQgwKFcYxMo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=He6rn8Dy27f1OfdbJEFPcxmz75mB3lXESNy+wxrfC54=; b=MLYknSgs+1B8trKRmjGh1ix2wcoLd11eCKYT7A1TSz2bfcRo2xsPn9j3PMKdUhf4aG k7JTpOgdvfvIpWux+2InqObs+qhz0lSnSYArN2X/129JYuljWECeRb5Ds4gQvBcs+vhK hTDqv7PtY6/P2+AiOxi91VHrm01YzcfqkS7pMeh44DbQaUFdpsVeEBeLSQeWAevw7bUH PiYJtVXnoQQrwqGAQZEYR5G3uGzPiy42EVxFgp+PY0VR5kqgN6n1q70KZXP3D9XE3wVT cbI5wBCJ37sYfohLTlYUgbaTh6clGSwOdfIUluEo9z7IRskg7k1iCqk8t00GRTJsZ74J p/Pg== X-Gm-Message-State: AOUpUlGAfvOaGQLctJh0+GAPxo5X8n51u+ovkwHnfO2aUmZ8EFmfXCqm hEzuwkRPxC/UATn7vaETZ/1l9qMGmUXtsY7IpYDGhw== X-Received: by 2002:aca:ccc4:: with SMTP id c187-v6mr15717795oig.282.1532930555220; Sun, 29 Jul 2018 23:02:35 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a9d:6043:0:0:0:0:0 with HTTP; Sun, 29 Jul 2018 23:02:34 -0700 (PDT) In-Reply-To: <201807290127.DcHKtABy%fengguang.wu@intel.com> References: <1532794529-30137-1-git-send-email-srinath.mannam@broadcom.com> <201807290127.DcHKtABy%fengguang.wu@intel.com> From: Srinath Mannam Date: Mon, 30 Jul 2018 11:32:34 +0530 Message-ID: Subject: Re: [PATCH v2] mmc: host: iproc: Add ACPI support to IPROC SDHCI To: Adrian Hunter Cc: Ulf Hansson , Ray Jui , Scott Branden , Vikram Prakash , BCM Kernel Feedback , linux-mmc@vger.kernel.org, Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Adrian Hunter, Auto build error came to this patch, because it is depend on the patch "mmc: sdhci-pltfm: Convert DT properties to generic device properties" you have given to me. Can I send my patch along with your patch in a single patch series? Please advice. Regards, Srinath. On Sat, Jul 28, 2018 at 11:02 PM, kbuild test robot wrote: > Hi Srinath, > > Thank you for the patch! Yet something to improve: > > [auto build test ERROR on ulf.hansson-mmc/next] > [also build test ERROR on v4.18-rc6 next-20180727] > [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/Srinath-Mannam/mmc-host-iproc-Add-ACPI-support-to-IPROC-SDHCI/20180729-003026 > base: git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc.git next > config: ia64-allmodconfig (attached as .config) > compiler: ia64-linux-gcc (GCC) 8.1.0 > reproduce: > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > # save the attached .config to linux build tree > GCC_VERSION=8.1.0 make.cross ARCH=ia64 > > All errors (new ones prefixed by >>): > > drivers/mmc/host/sdhci-iproc.c: In function 'sdhci_iproc_probe': >>> drivers/mmc/host/sdhci-iproc.c:304:2: error: implicit declaration of function 'sdhci_get_property'; did you mean 'sdhci_get_of_property'? [-Werror=implicit-function-declaration] > sdhci_get_property(pdev); > ^~~~~~~~~~~~~~~~~~ > sdhci_get_of_property > cc1: some warnings being treated as errors > > vim +304 drivers/mmc/host/sdhci-iproc.c > > 276 > 277 static int sdhci_iproc_probe(struct platform_device *pdev) > 278 { > 279 struct device *dev = &pdev->dev; > 280 const struct sdhci_iproc_data *iproc_data = NULL; > 281 struct sdhci_host *host; > 282 struct sdhci_iproc_host *iproc_host; > 283 struct sdhci_pltfm_host *pltfm_host; > 284 int ret; > 285 > 286 if (dev->of_node) > 287 iproc_data = of_device_get_match_data(dev); > 288 else if (has_acpi_companion(dev)) > 289 iproc_data = acpi_device_get_match_data(dev); > 290 > 291 if (!iproc_data) > 292 return -ENODEV; > 293 > 294 host = sdhci_pltfm_init(pdev, iproc_data->pdata, sizeof(*iproc_host)); > 295 if (IS_ERR(host)) > 296 return PTR_ERR(host); > 297 > 298 pltfm_host = sdhci_priv(host); > 299 iproc_host = sdhci_pltfm_priv(pltfm_host); > 300 > 301 iproc_host->data = iproc_data; > 302 > 303 mmc_of_parse(host->mmc); > > 304 sdhci_get_property(pdev); > 305 > 306 host->mmc->caps |= iproc_host->data->mmc_caps; > 307 > 308 if (dev->of_node) { > 309 pltfm_host->clk = devm_clk_get(dev, NULL); > 310 if (IS_ERR(pltfm_host->clk)) { > 311 ret = PTR_ERR(pltfm_host->clk); > 312 goto err; > 313 } > 314 ret = clk_prepare_enable(pltfm_host->clk); > 315 if (ret) { > 316 dev_err(dev, "failed to enable host clk\n"); > 317 goto err; > 318 } > 319 } > 320 > 321 if (iproc_host->data->pdata->quirks & SDHCI_QUIRK_MISSING_CAPS) { > 322 host->caps = iproc_host->data->caps; > 323 host->caps1 = iproc_host->data->caps1; > 324 } > 325 > 326 ret = sdhci_add_host(host); > 327 if (ret) > 328 goto err_clk; > 329 > 330 return 0; > 331 > 332 err_clk: > 333 if (dev->of_node) > 334 clk_disable_unprepare(pltfm_host->clk); > 335 err: > 336 sdhci_pltfm_free(pdev); > 337 return ret; > 338 } > 339 > > --- > 0-DAY kernel test infrastructure Open Source Technology Center > https://lists.01.org/pipermail/kbuild-all Intel Corporation