Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3589784imm; Sun, 29 Jul 2018 23:13:05 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeBQFfpmCFL589o/oFTcKszoz8uL9jerBvo0kTJq5b7quIpt+lQwbRtc7w0Oo3s0YzKOY1a X-Received: by 2002:a65:60cd:: with SMTP id r13-v6mr15216429pgv.232.1532931185649; Sun, 29 Jul 2018 23:13:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532931185; cv=none; d=google.com; s=arc-20160816; b=oE6hW0QhHRTUa+IDPuO3415nLQ3aOjbdJkvOM2Wdm+5DFZqnfeSg7wuXZd6SXd6+DC XXC12MO9wXskxY92eTCFsMiAaUm+3aeIhvIJKHvNDOC1ITAO1GbBoR7MkrSu+1Jvqx+x +1rgFudI4/3r8W7dtf3O9U57IkeTEFxGY/oJKrzLs1TMpzTPgAZDwhbdTmjIRkZAAAVm k/NSf1fszo4iAtqFIcTyGB+E8hlF271C+s/fI8GwFpu4CHPM3hqQ1fWmbAGoPfqNtx+U WmHu72uT/W3hspS4Qv1YWeQe9D+AX/ZR8bn1AifZSJ1+tHict2DQKhQb1Nt9vja69ZaD uWUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:organization:from:references:cc:to:subject :arc-authentication-results; bh=RItCpDT3atb9Po9idtVRW/1DPcNvhuo1Xd4gO6M4cMs=; b=ArpGhpo7aBDHU7/iaVVaCRbqYH22qZ2oj8TjIPCrMwCqmJ05BYlrx2+SErERgJ4rc7 STLotcJBQfRpe54brRtCGcXLbF1vFarI898NzEkWaP7rotjOKjvlFoJ0BVVdCtze00ZY 3U2sO0eoRX6mM3SWARmckVbpHskvqoI8aftPyNJBes9F+0rWtXh3KBOorXNA5vojsfn9 ljUQY1vb+o+jmwYlSz/6IC7+atHFzGsg2Lur2+gqCztGudwSex3MYGb+92/ijkFdc0+/ MN7krjqEtk8PGIElDDUsy4YGnLpbbL68BmSbATWMK6aulYSsxCdlYAMQEdZkJGpl2//P F00Q== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c133-v6si10877815pfb.296.2018.07.29.23.12.50; Sun, 29 Jul 2018 23:13:05 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726568AbeG3HpR (ORCPT + 99 others); Mon, 30 Jul 2018 03:45:17 -0400 Received: from mga03.intel.com ([134.134.136.65]:61327 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726087AbeG3HpR (ORCPT ); Mon, 30 Jul 2018 03:45:17 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 29 Jul 2018 23:11:54 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,421,1526367600"; d="scan'208";a="78923549" Received: from ahunter-desktop.fi.intel.com (HELO [10.237.72.168]) ([10.237.72.168]) by orsmga002.jf.intel.com with ESMTP; 29 Jul 2018 23:11:52 -0700 Subject: Re: [PATCH v2] mmc: host: iproc: Add ACPI support to IPROC SDHCI To: Srinath Mannam Cc: Ulf Hansson , Ray Jui , Scott Branden , Vikram Prakash , BCM Kernel Feedback , linux-mmc@vger.kernel.org, Linux Kernel Mailing List References: <1532794529-30137-1-git-send-email-srinath.mannam@broadcom.com> <201807290127.DcHKtABy%fengguang.wu@intel.com> From: Adrian Hunter Organization: Intel Finland Oy, Registered Address: PL 281, 00181 Helsinki, Business Identity Code: 0357606 - 4, Domiciled in Helsinki Message-ID: <0c1215a2-b8b3-e315-71e1-04501d02ba42@intel.com> Date: Mon, 30 Jul 2018 09:10:11 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 30/07/18 09:02, Srinath Mannam wrote: > 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? Yes, that is normally how it is done. > 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 >