Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp527006ybj; Tue, 5 May 2020 03:10:09 -0700 (PDT) X-Google-Smtp-Source: APiQypKCvV5toqkpX/CKYka6ipCNNUriTvKAW2gVTS/SB2Q0JGIPWPikg0ja74aM469t++jsKO0D X-Received: by 2002:aa7:d894:: with SMTP id u20mr1692675edq.205.1588673409572; Tue, 05 May 2020 03:10:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588673409; cv=none; d=google.com; s=arc-20160816; b=fzMl7DaY78Qf+8V0u5CbR34NBs8iB+YANExI/LP+1BwHM5BmUKg+s0LlVm6M1rDQhD iuIka4njbCcTkDEHVfEr03JJul4rmOT5+7+3kjFfyk7MyDNw4quzwl8szb9W4Px3IX4j RZ8mtcvjxo6XQXoJRebK/2hY8ey20EJnisYo88uBNHhWBcqfqYUuiafSz3zN868cMGNF Oqsj+VNBPA245YoJgyG9c7lClJzki1gLvOsrTD9Jar3nkNChMuv2DteN5p3LVjR7fPzi 7rx82eCGRe50o7DR5qBHF6HUA/qhewlZqc27qfx64Mzevza6iQbmH2RPpXlPSuX22hIK O8wQ== 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=LGdUQDJ3tgbEfwKqgrYOIAeVpMze1pWTO/O6awwDb9s=; b=nYvd9qPQe4rA6KmCwcX7GWwn/1M6k2qgFKQOFVZVchnIUTGSh/xKdgtbYviPNJn4b/ tr9KVyPHVl14+/km+UWTvbV15n7wBUkaoBxp3M5OVAXzG20aJp9sT9CjEq31vB/B19Hw QcF6FXFAFmCvyrCEpXasACiMA2r/KcRHUmb8dmmnSOJtw2+2eGAbKKk+IJsKyoLszkfM 69w5myaleu3lw+7VM1ZJTBCbJkRqwcTEyPIiYdVRmUpIytcWB3mYdFB6nZ227UKL7/WU e/nITtaA6CQOXjfMsUTqlzprAvDkz+Q93ejY4E95T/q6zvjbjs3nAFROQ0CA/f9qLi3C XChA== 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 r11si1185108edc.575.2020.05.05.03.09.46; Tue, 05 May 2020 03:10:09 -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 S1728529AbgEEKGS (ORCPT + 99 others); Tue, 5 May 2020 06:06:18 -0400 Received: from foss.arm.com ([217.140.110.172]:36158 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727931AbgEEKGR (ORCPT ); Tue, 5 May 2020 06:06:17 -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 E61F631B; Tue, 5 May 2020 03:06:16 -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 0E2423F305; Tue, 5 May 2020 03:06:15 -0700 (PDT) Date: Tue, 5 May 2020 11:06:13 +0100 From: Lorenzo Pieralisi To: Zou Wei Cc: wangzhou1@hisilicon.com, amurray@thegoodpenguin.co.uk, bhelgaas@google.com, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH -next v2] PCI: dwc: Make hisi_pcie_platform_ops static Message-ID: <20200505100613.GC12543@e121166-lin.cambridge.arm.com> References: <1587611883-26960-1-git-send-email-zou_wei@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1587611883-26960-1-git-send-email-zou_wei@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 Thu, Apr 23, 2020 at 11:18:03AM +0800, Zou Wei wrote: > Fix the following sparse warning: > > drivers/pci/controller/dwc/pcie-hisi.c:365:21: warning: > symbol 'hisi_pcie_platform_ops' was not declared. Should it be static? > > Reported-by: Hulk Robot > Signed-off-by: Zou Wei > --- > drivers/pci/controller/dwc/pcie-hisi.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied to pci/dwc, thanks. Lorenzo > diff --git a/drivers/pci/controller/dwc/pcie-hisi.c b/drivers/pci/controller/dwc/pcie-hisi.c > index 6d9e1b2..11f5ff7 100644 > --- a/drivers/pci/controller/dwc/pcie-hisi.c > +++ b/drivers/pci/controller/dwc/pcie-hisi.c > @@ -362,7 +362,7 @@ static int hisi_pcie_platform_init(struct pci_config_window *cfg) > return 0; > } > > -struct pci_ecam_ops hisi_pcie_platform_ops = { > +static struct pci_ecam_ops hisi_pcie_platform_ops = { > .bus_shift = 20, > .init = hisi_pcie_platform_init, > .pci_ops = { > -- > 2.6.2 >