Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp558978ybj; Tue, 5 May 2020 03:50:14 -0700 (PDT) X-Google-Smtp-Source: APiQypKWwGYsZLIl7Iye8P1aSKBuGTDI/MHaWtCUu/SAjiRYusLIWNFiHM2OR0enRMZpFliTuzog X-Received: by 2002:aa7:d518:: with SMTP id y24mr1861366edq.222.1588675814298; Tue, 05 May 2020 03:50:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588675814; cv=none; d=google.com; s=arc-20160816; b=xIA2pGO44Be0hoKjnn6xHwTFHcMBbXCalwLISk2ixam54CEB5XWvvbti9pMK8PDRHz /4m46jKlKMrfqgXONn+NEUH2+Jik92pEC5Vjm/HeprucvxbzD9TUh+Xg4XqCpa0GhrR/ HKSyA/qDYuyRvyimt7A90U0aHEoBK2cVW8NdZFksneiEB1CI4+H2vWFyJg2Rh7sxvKYE jbAy75bg+IYYnCC1pNyBvQeBW9w7DjJ1gS04hW/CNHV3405e+mL/WsEoId1el+ChCjQo 3YKIK0zYvpx/omIYwZPl6sCzcNEE3KbiUQ/x/I2YiVh6I4Zyxk5+Ap4AcdN53+6qmsYu xkWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=uHrp0iPd59F3//CakG/IegQo0U4LCKdlcFE/dUmgHlA=; b=lViztACEFiiqLvcZaDKYMhsCj5svHSR5vKEvKwGcEzbXnQYVYoMV5TPSkwV2bav4im mlbusHD7R/cqUKF2847sGE61huSL3hFaQSZwstbos2iRrk8ErSua9DGA9O78UIJiImTq vIIfQLFvZ4yYdkh6vpOu70mhnM9LS7LI+25nhxavmEiDpU9w9rxF2Bnx2yv+1HKFOoh8 MmeS7zrqMoUeFjfJFLlgnMs8m5GY9giDTX0rKWov1Pg/2Iu6+kGfll9Vz9FCsKyPQAGB gw81NnSVpLNvvvbiKVeFfTQ0K+aWtIAUmXDfuyDSkC5doKP0S1ImwhaypNI6B2s4fz3J JyKw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e2si1052943edv.300.2020.05.05.03.49.51; Tue, 05 May 2020 03:50:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728711AbgEEKr5 (ORCPT + 99 others); Tue, 5 May 2020 06:47:57 -0400 Received: from foss.arm.com ([217.140.110.172]:36954 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728497AbgEEKr5 (ORCPT ); Tue, 5 May 2020 06:47:57 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id A32F430E; Tue, 5 May 2020 03:47:56 -0700 (PDT) Received: from e121166-lin.cambridge.arm.com (e121166-lin.cambridge.arm.com [10.1.196.255]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 51F4C3F305; Tue, 5 May 2020 03:47:55 -0700 (PDT) Date: Tue, 5 May 2020 11:47:49 +0100 From: Lorenzo Pieralisi To: Jason Yan Cc: amurray@thegoodpenguin.co.uk, bhelgaas@google.com, p.zabel@pengutronix.de, gustavo.pimentel@synopsys.com, andriy.shevchenko@intel.com, eswara.kota@linux.intel.com, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, Hulk Robot Subject: Re: [PATCH] PCI: dwc: intel: make intel_pcie_cpu_addr() static Message-ID: <20200505104749.GA13446@e121166-lin.cambridge.arm.com> References: <20200415084953.6533-1-yanaijie@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200415084953.6533-1-yanaijie@huawei.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 15, 2020 at 04:49:53PM +0800, Jason Yan wrote: > Fix the following sparse warning: > > drivers/pci/controller/dwc/pcie-intel-gw.c:456:5: warning: symbol > 'intel_pcie_cpu_addr' was not declared. Should it be static? > > Reported-by: Hulk Robot > Signed-off-by: Jason Yan > --- > drivers/pci/controller/dwc/pcie-intel-gw.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied to pci/dwc, thanks. Lorenzo > diff --git a/drivers/pci/controller/dwc/pcie-intel-gw.c b/drivers/pci/controller/dwc/pcie-intel-gw.c > index fc2a12212dec..2d8dbb318087 100644 > --- a/drivers/pci/controller/dwc/pcie-intel-gw.c > +++ b/drivers/pci/controller/dwc/pcie-intel-gw.c > @@ -453,7 +453,7 @@ static int intel_pcie_msi_init(struct pcie_port *pp) > return 0; > } > > -u64 intel_pcie_cpu_addr(struct dw_pcie *pcie, u64 cpu_addr) > +static u64 intel_pcie_cpu_addr(struct dw_pcie *pcie, u64 cpu_addr) > { > return cpu_addr + BUS_IATU_OFFSET; > } > -- > 2.21.1 >