* [PATCH] xen/pci: make xen_msi_init() static
@ 2020-04-17 7:35 Jason Yan
0 siblings, 0 replies; only message in thread
From: Jason Yan @ 2020-04-17 7:35 UTC (permalink / raw)
To: konrad.wilk, bhelgaas, tglx, mingo, bp, x86, hpa, xen-devel,
linux-pci, linux-kernel
Cc: Jason Yan, Hulk Robot
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 <hulkci@huawei.com>
Signed-off-by: Jason Yan <yanaijie@huawei.com>
---
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2020-04-17 7:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-17 7:35 [PATCH] xen/pci: make xen_msi_init() static Jason Yan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).