From patchwork Thu Sep 24 14:36:16 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Li Heng X-Patchwork-Id: 11797615 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 643996CA for ; Thu, 24 Sep 2020 14:40:25 +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 40CA323741 for ; Thu, 24 Sep 2020 14:40:25 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 40CA323741 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=huawei.com 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 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 X-Inumbo-ID: 25b912c1-4b4a-4eca-90bb-c1796268c144 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 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 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 ‘xen_msi_init’ [-Wmissing-prototypes] Reported-by: Hulk Robot Signed-off-by: Li Heng --- arch/x86/pci/xen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.7.4 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) { /*