Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp371143pxk; Thu, 24 Sep 2020 07:37:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJya/ZAKDR0Hj0dWcaAZTwgsiKckwel8zepUsS/TStUx5+GH7QJ2WdX2vGLE72uiwj8EXhnu X-Received: by 2002:a05:6402:144c:: with SMTP id d12mr235930edx.168.1600958266730; Thu, 24 Sep 2020 07:37:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600958266; cv=none; d=google.com; s=arc-20160816; b=Gxyx5Othltoi6rdHV4qEUqTJjW/OufCaJeLdsIl/QXFgRS7sSDODfGwbU8OSBTKJaz MQE3y0bxMzWgmdmMrphueMdHaUCIFp9el/V282cvSVoxSUTBiQN8zATCxmpfZpaitF6N NCVSfCgzLidEsmRy6EwNpGNB8f4/UTm5vMWBqMogmfpi1wDNBD0QeYXvdblM12dTiskM P1C+yQnQQ+jTDEd4HpIvqOXAgUA8/x67KgN5NDNXIdZnlXi+hnHDDZiA4JSIpp33pjch W4sAbWp/bXUuUcRREvJrIhemO8EFAf4XWKLpJ6F40n/pObcftbnxuAVaGR33Hcdtia16 rx4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=5gJn6yGR/ts0erHAXwyVkGLLjrP7JlaenKBYmxexizQ=; b=D5LQ0UkKbZx6Yb725e4N1jKJVNQ7Ng87oqYUAqRBLxstCeaTaDyd8qWLf2dasi8EU5 H5qju8qtLG3XYa/6+OfQpEuxI4Drj5SoTGUBjqXreObKi10OCg8mHLpAZW8cVqhXyfOJ UUy+7bjSL04BvEhRK17iSM1JUsdcRoedGUsXodqZGEEN5e9tLS7CnukEiaQAOfqiaaPc e9hqFB1sKLgixsj/9KtjV37bFuy136PnPJbD0uczv06e2m0jpEuns0r2ubyA/VBt2xXV J/ZW1Ryh2P53WrF0pKot0+Z4IZBu+pPbEG7KI6HwKC0B6tNGog9y4ao8C//S3n1bXYDF 4UGg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h22si2540845ejf.387.2020.09.24.07.37.22; Thu, 24 Sep 2020 07:37:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728196AbgIXOgY (ORCPT + 99 others); Thu, 24 Sep 2020 10:36:24 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:14229 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727859AbgIXOgX (ORCPT ); Thu, 24 Sep 2020 10:36:23 -0400 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 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Originating-IP: [10.175.104.57] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(-) 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