From nobody Sat Nov 30 16:40:56 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org ARC-Seal: i=1; a=rsa-sha256; t=1600958353; cv=none; d=zohomail.com; s=zohoarc; b=fIL8iQ3TeVDwVw4rjJx/jgY/7HnVlKezCfAmHaMibsE7nauxzalqnbEZr4p6dfTfLF3Lkd77Ndq12KqZ1B9hNjHHcoogzxeCTtzQE4l1fFqZ+nTivA4HMB5OMJwsPxabsK7YtpujhybG6TFV3UjN/JgQD/xViVCifK3Krozek6M= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1600958353; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=5gJn6yGR/ts0erHAXwyVkGLLjrP7JlaenKBYmxexizQ=; b=bkszTjDv7J+Az97xur1r61YQ3bokAARJV9lUERzbC6GfvIPky/zKdfodxSmFJuuaR+vA3+a+7EL4Awf65XyQdo+taMm0lmWhBtZaXuUnCcMYRP/4YlA9n7kO2EMxRUSp+N/fqls5W/nZ+a4FjLx6Vn9mkVs515apXsEkjBDxBSg= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1600958353964639.9084329210541; Thu, 24 Sep 2020 07:39:13 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kLSOg-0005yi-VB; Thu, 24 Sep 2020 14:38:58 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kLSMO-0005s8-QM for xen-devel@lists.xenproject.org; Thu, 24 Sep 2020 14:36:36 +0000 Received: from huawei.com (unknown [45.249.212.191]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 25b912c1-4b4a-4eca-90bb-c1796268c144; Thu, 24 Sep 2020 14:36:26 +0000 (UTC) Received: from DGGEMS402-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id AA7356ED7F3D4B87A936; Thu, 24 Sep 2020 22:36:19 +0800 (CST) Received: from huawei.com (10.175.104.57) by DGGEMS402-HUB.china.huawei.com (10.3.19.202) with Microsoft SMTP Server id 14.3.487.0; Thu, 24 Sep 2020 22:36:16 +0800 X-Inumbo-ID: 25b912c1-4b4a-4eca-90bb-c1796268c144 From: Li Heng To: , , , , CC: , , , , Subject: [PATCH -next] xen: Fix a previous prototype warning in xen.c Date: Thu, 24 Sep 2020 22:36:16 +0800 Message-ID: <1600958176-23406-1-git-send-email-liheng40@huawei.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Originating-IP: [10.175.104.57] X-CFilter-Loop: Reflected X-Mailman-Approved-At: Thu, 24 Sep 2020 14:38:57 +0000 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" Fix the warning: arch/x86/pci/xen.c:423:13: warning: no previous prototype for =E2=80=98xen_msi_init=E2=80=99 [-Wmissing-prototy= pes] Reported-by: Hulk Robot Signed-off-by: Li Heng --- 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