Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3028401yba; Tue, 16 Apr 2019 03:10:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqyuPgWdkBv8gBtNfDvs/UcBk8FGumjzFucpUXTHKbfZxtm9Db3L+X+dOy0cN2xC34PRASFf X-Received: by 2002:a17:902:bb84:: with SMTP id m4mr41780484pls.302.1555409448272; Tue, 16 Apr 2019 03:10:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555409448; cv=none; d=google.com; s=arc-20160816; b=U006Jtj1IA8pP/x+JNNLFfoJDuPNJf0H0cMlZhRjyLWJNOfF4cO/TBLOADKTV5KDLA lb23p3yqaC03L44eFV7H5fXyBpSk7NsH7SQbtsu7g43zJsvlnBMlGKsyMWCNRoOVOg6n 0kzZzU/nlC0Zpp0BOvS+rN+LvZIzNUsC9Y1lmWi6XKjG40YSFxSVXf2X47SMjmjeYByf INWFSkj4OWna3rSPQnkuuBdUlziAuUDJ4GLqvkU5ha8HI1L6l6HCnRn/uJRlaXMpDbaY v9q1jpq2fdo13oSUz66Tb9Pg03ksADFy09u0XOOGAYMUoGj/luM8oJ6+MIuCbvAxUFmh AhKA== 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=GLdWmxyPbTO8V1JpZeV2hfNZdJa/q6fvhx1zGz5vaMk=; b=l4ND4IFEsWkjBoJfyAR4wFvl4jhFUqfyRDBuBH+zp0dtSIY6RY6mwyU3tF9RmceB0O LO20epNR/medPXzYEGam2K8O2Wpb+/B4Wr++n53EfNSut1mmlcs2LX60JrfgI6mn3N2F A9f1V1AG2nvNboprgp75DGGB4MrARXtiCErts1CTJsXMkLRn7kYNk3nVxBK8sOFtE32t KV0Ehg5V6l+ri9L7GJdgdDFdV+8TwNt7tE/Ve9GyKz+IGKtelDFMof+JxUg1bMZvXVYF N5/LqotIRMtttQPmspwzQV++Rd0lNzu6U8JYaKeQY/wxn/1rBj/EwN3sNriBtvPCz4l0 axZA== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m3si38294173pgv.28.2019.04.16.03.10.32; Tue, 16 Apr 2019 03:10:48 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728833AbfDPKIn (ORCPT + 99 others); Tue, 16 Apr 2019 06:08:43 -0400 Received: from foss.arm.com ([217.140.101.70]:51322 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726250AbfDPKIm (ORCPT ); Tue, 16 Apr 2019 06:08:42 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 3911880D; Tue, 16 Apr 2019 03:08:42 -0700 (PDT) Received: from red-moon (unknown [10.1.197.39]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id B28E63F68F; Tue, 16 Apr 2019 03:08:40 -0700 (PDT) Date: Tue, 16 Apr 2019 11:08:41 +0100 From: Lorenzo Pieralisi To: Yue Haibing Cc: thomas.petazzoni@bootlin.com, jason@lakedaemon.net, bhelgaas@google.com, gustavo.pimentel@synopsys.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-pci@vger.kernel.org Subject: Re: [PATCH -next] PCI: mvebu: Make mvebu_pci_bridge_emul_ops static Message-ID: <20190416100841.GB14503@red-moon> References: <20190410140949.26716-1-yuehaibing@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190410140949.26716-1-yuehaibing@huawei.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 10, 2019 at 10:09:49PM +0800, Yue Haibing wrote: > From: YueHaibing > > Fix sparse warning: > > drivers/pci/controller/pci-mvebu.c:557:28: warning: > symbol 'mvebu_pci_bridge_emul_ops' was not declared. Should it be static? > > Reported-by: Hulk Robot > Signed-off-by: YueHaibing > --- > drivers/pci/controller/pci-mvebu.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied to pci/misc, thanks. Lorenzo > diff --git a/drivers/pci/controller/pci-mvebu.c b/drivers/pci/controller/pci-mvebu.c > index d3a0419..ed032e9 100644 > --- a/drivers/pci/controller/pci-mvebu.c > +++ b/drivers/pci/controller/pci-mvebu.c > @@ -554,7 +554,7 @@ mvebu_pci_bridge_emul_pcie_conf_write(struct pci_bridge_emul *bridge, > } > } > > -struct pci_bridge_emul_ops mvebu_pci_bridge_emul_ops = { > +static struct pci_bridge_emul_ops mvebu_pci_bridge_emul_ops = { > .write_base = mvebu_pci_bridge_emul_base_conf_write, > .read_pcie = mvebu_pci_bridge_emul_pcie_conf_read, > .write_pcie = mvebu_pci_bridge_emul_pcie_conf_write, > -- > 2.7.4 > >