[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1402782806-7692-1-git-send-email-cengelma@gmx.at>
Date: Sat, 14 Jun 2014 23:53:26 +0200
From: Christian Engelmayer <cengelma@....at>
To: xen-devel@...ts.xenproject.org
Cc: Konrad Rzeszutek Wilk <konrad.wilk@...cle.com>,
Boris Ostrovsky <boris.ostrovsky@...cle.com>,
David Vrabel <david.vrabel@...rix.com>,
linux-kernel@...r.kernel.org,
Christian Engelmayer <cengelma@....at>
Subject: [PATCH] xen/pvhvm: Fix non-ANSI declaration of xen_has_pv_devices()
Fix sparse warning "non-ANSI function declaration of function
'xen_has_pv_devices'".
Signed-off-by: Christian Engelmayer <cengelma@....at>
---
arch/x86/xen/platform-pci-unplug.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/xen/platform-pci-unplug.c b/arch/x86/xen/platform-pci-unplug.c
index a826171..9586ff3 100644
--- a/arch/x86/xen/platform-pci-unplug.c
+++ b/arch/x86/xen/platform-pci-unplug.c
@@ -68,7 +68,7 @@ static int check_platform_magic(void)
return 0;
}
-bool xen_has_pv_devices()
+bool xen_has_pv_devices(void)
{
if (!xen_domain())
return false;
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists