Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3BD75C2D0A8 for ; Mon, 28 Sep 2020 22:39:45 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id DD32223A50 for ; Mon, 28 Sep 2020 22:39:44 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="AZfVaZqO" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DD32223A50 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kN1nq-0005Gi-3N; Mon, 28 Sep 2020 22:39:26 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kN1np-0005Gd-1s for xen-devel@lists.xenproject.org; Mon, 28 Sep 2020 22:39:25 +0000 X-Inumbo-ID: 219cae10-197c-4059-86e5-d20f15bc19b0 Received: from mail.kernel.org (unknown [198.145.29.99]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 219cae10-197c-4059-86e5-d20f15bc19b0; Mon, 28 Sep 2020 22:39:24 +0000 (UTC) Received: from localhost (52.sub-72-107-123.myvzw.com [72.107.123.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 7978B23A40; Mon, 28 Sep 2020 22:39:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1601332763; bh=kcdtApje+MBHdfUB2c2kJF6E7KxaJcvAdCzfKChA118=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=AZfVaZqOhQrLRTWFaK+3oe/rJbTCK9wNNBBhz2CH0NbvtONNqYw9OzJx54t+PFWoy 0bM3QR6hcc+ZKBGNusjuEQiO4mjK94byDszMcY4mEox17to9V+IREFI9tug/q/Uzcm TbLFoRYzjg9WiRWwCbkLwifP9Dt4+Uesfg8fvNvk= Date: Mon, 28 Sep 2020 17:39:22 -0500 From: Bjorn Helgaas To: Li Heng Cc: konrad.wilk@oracle.com, bhelgaas@google.com, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, x86@kernel.org, hpa@zytor.com, xen-devel@lists.xenproject.org, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH -next] xen: Fix a previous prototype warning in xen.c Message-ID: <20200928223922.GA2503371@bjorn-Precision-5520> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1600958176-23406-1-git-send-email-liheng40@huawei.com> X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" On Thu, Sep 24, 2020 at 10:36:16PM +0800, Li Heng wrote: > Fix the warning: > arch/x86/pci/xen.c:423:13: warning: > no previous prototype for ‘xen_msi_init’ [-Wmissing-prototypes] > > Reported-by: Hulk Robot > Signed-off-by: Li Heng Applied to pci/misc for v5.10, thanks! > --- > arch/x86/pci/xen.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/x86/pci/xen.c b/arch/x86/pci/xen.c > index 89395a5..f663a5f 100644 > --- a/arch/x86/pci/xen.c > +++ b/arch/x86/pci/xen.c > @@ -420,7 +420,7 @@ int __init pci_xen_init(void) > } > > #ifdef CONFIG_PCI_MSI > -void __init xen_msi_init(void) > +static void __init xen_msi_init(void) > { > if (!disable_apic) { > /* > -- > 2.7.4 >