Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp256059ybz; Fri, 17 Apr 2020 00:11:36 -0700 (PDT) X-Google-Smtp-Source: APiQypImQsvTaoZ7rj0W33BkbkaDfxfbXyArcDL7uS4ixEzC20nw71YhHAVGFPcUmjkHZBCXJXja X-Received: by 2002:a17:906:c7c5:: with SMTP id dc5mr1739880ejb.50.1587107495891; Fri, 17 Apr 2020 00:11:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587107495; cv=none; d=google.com; s=arc-20160816; b=Cwjr39e7YffPzq1FPhrfhaxkS6FQDzX1jaGDjQMxZMw/2is2uXt6/z191v09o/p/7C ieNz9ErkWEolveU8nafDRoz0QBOYcJIHjLsuYTc42PWcxoeMMaH+SeXlo0h9UI1sCMD/ 2nsmsbJRY3HxWtoNoT28VwImP7V9CxkGzbjIj0JiAoUFOjtpYn2s+kHSvFLqrxnqlSP0 mIu1gZQwwI+s+/MkTsJeEy8yCyyF1RX9KYw9KCZGMnhVg9r2peJz65c3RNTzzBNLqYJo 8GlzJ4+iyDUowDWXHrVcCxiRZTidbHaTv0TYH2Fy9h1qdRTLuWX0/IPZ+RTuMmJmHcQm zzqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=kWju5J73PLkxhE0tlw8sAlJMpmID3QE/HteKg93CjcA=; b=H7tb9drJmffwOavOnYdZxYgss+YYNYlrh4s4wvYguCT4AbpwDzSn7NjiaNyLG11Ym8 TOqznz73fTF5xQVTtl7XkmwIKmtEB4LSS1SDpr7RuTMbwt3yRMcXKR6eY6cvUdljt1Zd ggWp6mGyS0C6JfqR+g8jWngrOSz2DU2PWVltUxrMAreRgwXZybVnTXsFwRliuT00Xeqm re0X9ewXVHx6iu7C+1/dva68kV9VFizMSn0bTGZ9kIF151piaNZp7ISPw+MK9YjzKut6 2knXFJD/QaGHwIji+lRL6dJ/YLAKjKn2z+RVXpaEoUUlu+5rvrjrv2mBPsz6JLTHsW84 nxFA== 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 m4si8660675eje.107.2020.04.17.00.11.11; Fri, 17 Apr 2020 00:11:35 -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 S1728845AbgDQHJi (ORCPT + 99 others); Fri, 17 Apr 2020 03:09:38 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:42486 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728159AbgDQHJi (ORCPT ); Fri, 17 Apr 2020 03:09:38 -0400 Received: from DGGEMS404-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 28D6622F2F9E658195FE; Fri, 17 Apr 2020 15:09:35 +0800 (CST) Received: from huawei.com (10.175.124.28) by DGGEMS404-HUB.china.huawei.com (10.3.19.204) with Microsoft SMTP Server id 14.3.487.0; Fri, 17 Apr 2020 15:09:27 +0800 From: Jason Yan To: , , , , , , , , , CC: Jason Yan , Hulk Robot Subject: [PATCH] xen/pci: make xen_msi_init() static Date: Fri, 17 Apr 2020 15:35:53 +0800 Message-ID: <20200417073553.42873-1-yanaijie@huawei.com> X-Mailer: git-send-email 2.21.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.175.124.28] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix the following sparse warning: arch/x86/pci/xen.c:426:13: warning: symbol 'xen_msi_init' was not declared. Should it be static? Reported-by: Hulk Robot Signed-off-by: Jason Yan --- 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 91220cc25854..0d06f12ccd74 100644 --- a/arch/x86/pci/xen.c +++ b/arch/x86/pci/xen.c @@ -423,7 +423,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.21.1