Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2145205yba; Mon, 15 Apr 2019 06:01:31 -0700 (PDT) X-Google-Smtp-Source: APXvYqygkM2yKwVVdlSigRJzjrUaM+yvUd53+HEfKwggKsrPc48N+Z5hHbjUH4F6odxSQfA2B+jP X-Received: by 2002:a63:25c4:: with SMTP id l187mr71299758pgl.202.1555333291439; Mon, 15 Apr 2019 06:01:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555333291; cv=none; d=google.com; s=arc-20160816; b=uXiOsurnFjJ1qOQc0KIDrIFe0F30GQJ0rzC7yD+5fn7IVXmwPS6STXTcWzp0ueF2Yw dq663FBvhVFZXQFvJDiBBnf0x0QrKLsbektXc3K4fKocvAheRydF7b04FwNKiscWRAAa uWqqSpW5aS5DYEdYlOkquZpQawbRfqY9vdZSnTJmyKDZ4dE3oj+yTxuHfayhNFFkl3Jw pr7WmD9mlZejyYEaOMB8owJ0o9u6mVb8BWqHjLGo7qUgzDdzt9Lhxo/xdr5udYuWc/7A n06fAcLfak6FRXM5jkNX2fCJQmyKMNZ9AnL4FYAP3iAHmN6W44EcLdmTNCKZRlxjrh1Z Pmlw== 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=s5SByHv9CMW2stYGE0VfBHWP729R6lTcrYR8cabxwT8=; b=wlz1amotwmpUJD0UZRt44K/CrWc7kkqNWR6mQnft/y1VmxuCR41tUN2tR9IiiNZ6XA D8kGfwASVMoAXNPN4ghVpYhwp0rJylPDvT0NlgJd08UKTLaWr6x73JnxeknsWkao337u vcT28BrnyJTaAL71aQazswXeTvt12Hqwb72cwvv7if3C6C4Lh00e3+h81fn4IK3IncmH 4004WPkE1TbdDoNjRDnx9jUtPlcmqBlSBK7e+VMwiOSLW8EMn8zwRw7vg2w985z4Zjiu 1V0jZ56MdGrhS26eWQTVC2bLFeCOWqNHj75K4iY6duNX+s+j0qr8Ufk2HVeequR9XbMd q83g== 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 91si9667481ply.104.2019.04.15.06.01.14; Mon, 15 Apr 2019 06:01:31 -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 S1727448AbfDONAO (ORCPT + 99 others); Mon, 15 Apr 2019 09:00:14 -0400 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:34392 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727244AbfDONAN (ORCPT ); Mon, 15 Apr 2019 09:00:13 -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 53E10374; Mon, 15 Apr 2019 06:00:13 -0700 (PDT) Received: from red-moon (red-moon.cambridge.arm.com [10.1.197.39]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id CE1003F706; Mon, 15 Apr 2019 06:00:11 -0700 (PDT) Date: Mon, 15 Apr 2019 14:00:09 +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: <20190415130009.GA12388@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 Is Mr.Robot reachable by email ? If it is a CI bot I doubt it is useful to leave this tag there unless you want it for accounting purposes, just let me know. Thanks, Lorenzo > Signed-off-by: YueHaibing > --- > drivers/pci/controller/pci-mvebu.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > 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 > >