Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp714601ybb; Wed, 25 Mar 2020 08:14:40 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtktFibaKpqCZRB2gdXOAqBQLCQ/Sy1AJPWmHJnKkIDJt80hHMvuNE12zgxi/BkNzFzoDlI X-Received: by 2002:a05:6830:204c:: with SMTP id f12mr2822673otp.356.1585149279927; Wed, 25 Mar 2020 08:14:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585149279; cv=none; d=google.com; s=arc-20160816; b=hXsG9LaqNi4xBZ54owJqcq5sqYw+Q7fmwpvRxpzayh5pT3AtM5ji02vz1QgQeXvXVO a9ikIVvUgxICC92+BKqY18i131wKFimDjSzlCZx8c3Q+2pdvHS/NYc9XpbI8F7ZcHg5Q ub3pED1DsF9VBsowt4RVS9xLyx/TC6h7E7Rlu31KDjmogAd4DLHJQUcTKYKwIPKWnhBP VL9dCuvaWb7KMJ625bQmvDlrV5TbzGyU8pwH4KhNeQYB/X+cQuCuXUwkyrlz3PwvbutO INTDWtuRgn8u4u2U8JiQF0xAXqwx7e3KqDdy3xhFgs/flBDsNtZu3qeu1DwzDr7h31Hb +Olg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:dkim-signature:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=FZyl6tl5d7IEm26Ng+7VPnCh/JccA87CapxQqKQR9tc=; b=zfD7gZSmD7mjk1pskf9if7AD+zcBY24xu1nrM4BToJdKbYv8Fio6mPcbYwIYnFFsUw 8lpLMXZO8kXG3t4re9kFM6Z5zk5w/koweXda6QVx1MdEQM7wt00rj1w9faUeqIUEPQRK M4134xyQyOlvHUMo5P4rr4LWUUSomvgKlzX09vMU5ppdhoT/rGUv+Q0JQ8zai2KaxD1X 3cC4Nz4wZK10ZWfAav5S+HZjk+qP8EmGs/+xkQdfrDkjjYPa4XCICaBID+bCE9brS8dG KM4abndzKLjtAIRMn6wK1DbqAkDXfkHRfdnXlb8WViSJR3gUyFNEfM2ofXk5DenCd6Ka 74oQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=fXyrjsGy; 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=NONE sp=NONE dis=NONE) header.from=nvidia.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v126si10826438oia.106.2020.03.25.08.14.26; Wed, 25 Mar 2020 08:14:39 -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=@nvidia.com header.s=n1 header.b=fXyrjsGy; 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=NONE sp=NONE dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727801AbgCYPNj (ORCPT + 99 others); Wed, 25 Mar 2020 11:13:39 -0400 Received: from hqnvemgate25.nvidia.com ([216.228.121.64]:15838 "EHLO hqnvemgate25.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727319AbgCYPNj (ORCPT ); Wed, 25 Mar 2020 11:13:39 -0400 Received: from hqpgpgate101.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate25.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Wed, 25 Mar 2020 08:12:53 -0700 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate101.nvidia.com (PGP Universal service); Wed, 25 Mar 2020 08:13:38 -0700 X-PGP-Universal: processed; by hqpgpgate101.nvidia.com on Wed, 25 Mar 2020 08:13:38 -0700 Received: from [10.25.72.148] (10.124.1.5) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 25 Mar 2020 15:13:35 +0000 Subject: Re: mmotm 2020-03-23-21-29 uploaded (pci/controller/dwc/pcie-tegra194.c) To: Bjorn Helgaas , Randy Dunlap , CC: , , , , , , , , , linux-pci References: <20200324161851.GA2300@google.com> X-Nvconfidentiality: public From: Vidya Sagar Message-ID: Date: Wed, 25 Mar 2020 20:43:32 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: <20200324161851.GA2300@google.com> X-Originating-IP: [10.124.1.5] X-ClientProxiedBy: HQMAIL101.nvidia.com (172.20.187.10) To HQMAIL107.nvidia.com (172.20.187.13) Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1585149173; bh=FZyl6tl5d7IEm26Ng+7VPnCh/JccA87CapxQqKQR9tc=; h=X-PGP-Universal:Subject:To:CC:References:X-Nvconfidentiality:From: Message-ID:Date:User-Agent:MIME-Version:In-Reply-To: X-Originating-IP:X-ClientProxiedBy:Content-Type:Content-Language: Content-Transfer-Encoding; b=fXyrjsGyuSQ1tWKq9YQIqmt3R467Bj3K8rop3N18qliTqERdmmEOnNPiZBglPolG2 VFNLTI3mKMoAKLF2Bx/dXoELB+hPV4guoy0pNa5O6HnJcWp2ngixLC9iKryoLBl2uy 48Ql3FZHcNcbj3Qc8hD/tNnVNlZw1rCGuOEYOItXISRWle7+DPSeEP2iQuHJwMkuVU ywvOeQY306cgHCqnUoh+UvcuwY8GPs88vyGMxL+EmSxm/+Dzs2Q+xVmyUBM2PAQYed CEtljRX1vRmytGIV4ulziisdkzVXXFYMphmpsWY1oTPJe+lMnW08SrcIIlwjC9HIBO EknC0nM8GyVpA== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3/24/2020 9:48 PM, Bjorn Helgaas wrote: > External email: Use caution opening links or attachments >=20 >=20 > On Tue, Mar 24, 2020 at 08:16:34AM -0700, Randy Dunlap wrote: >> On 3/23/20 9:30 PM, akpm@linux-foundation.org wrote: >>> The mm-of-the-moment snapshot 2020-03-23-21-29 has been uploaded to >>> >>> http://www.ozlabs.org/~akpm/mmotm/ >>> >>> mmotm-readme.txt says >>> >>> README for mm-of-the-moment: >>> >>> http://www.ozlabs.org/~akpm/mmotm/ >>> >>> This is a snapshot of my -mm patch queue. Uploaded at random hopefully >>> more than once a week. >>> >>> You will need quilt to apply these patches to the latest Linus release = (5.x >>> or 5.x-rcY). The series file is in broken-out.tar.gz and is duplicated= in >>> http://ozlabs.org/~akpm/mmotm/series >> >> >> on x86_64: >> >> ../drivers/pci/controller/dwc/pcie-tegra194.c: In function =E2=80=98tegr= a_pcie_dw_parse_dt=E2=80=99: >> ../drivers/pci/controller/dwc/pcie-tegra194.c:1160:24: error: implicit d= eclaration of function =E2=80=98devm_gpiod_get=E2=80=99; did you mean =E2= =80=98devm_phy_get=E2=80=99? [-Werror=3Dimplicit-function-declaration] >> pcie->pex_rst_gpiod =3D devm_gpiod_get(pcie->dev, "reset", GPIOD_IN); >> ^~~~~~~~~~~~~~ >> devm_phy_get >=20 > Thanks a lot for the report! >=20 > This was found on mmotm, but I updated my -next branch with Lorenzo's > latest pci/endpoint branch (current head 775d9e68f470) and reproduced > this build failure with the .config you attached. >=20 > I dropped that branch from my -next branch for now and pushed it. I found that one header file inclusion is missing. The following patch fixes it. Also, I wanted to know how can I catch this locally? i.e. How can I=20 generate the config file attached by Randy locally so that I can get the=20 source ready without these kind of issues? Bjorn/Lorenzo, would you be able to apply below change in your trees or=20 do I need to send a patch for this? diff --git a/drivers/pci/controller/dwc/pcie-tegra194.c=20 b/drivers/pci/controller/dwc/pcie-tegra194.c index 97d3f3db1020..eeeca18892c6 100644 --- a/drivers/pci/controller/dwc/pcie-tegra194.c +++ b/drivers/pci/controller/dwc/pcie-tegra194.c @@ -11,6 +11,7 @@ #include #include #include +#include #include #include #include >=20 > Bjorn >=20