xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] xen: fix non-ANSI function declaration of function xen_has_pv_devices
@ 2015-07-16 19:34 Colin King
  0 siblings, 0 replies; 3+ messages in thread
From: Colin King @ 2015-07-16 19:34 UTC (permalink / raw)
  To: Konrad Rzeszutek Wilk, Boris Ostrovsky, David Vrabel,
	Thomas Gleixner, Ingo Molnar, H. Peter Anvin, x86, xen-devel
  Cc: linux-kernel

From: Colin Ian King <colin.king@canonical.com>

xen_has_pv_devices has no parameters, so use the normal void
parameter convention to make it match the prototype in the
header file include/xen/platform_pci.h

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 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;
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] xen: fix non-ANSI function declaration of function xen_has_pv_devices
       [not found] <1437075283-18905-1-git-send-email-colin.king@canonical.com>
  2015-07-16 19:34 ` Colin King
@ 2015-07-20 13:28 ` David Vrabel
  1 sibling, 0 replies; 3+ messages in thread
From: David Vrabel @ 2015-07-20 13:28 UTC (permalink / raw)
  To: Colin King, Konrad Rzeszutek Wilk, Boris Ostrovsky, David Vrabel,
	Thomas Gleixner, Ingo Molnar, H. Peter Anvin, x86, xen-devel
  Cc: linux-kernel

On 16/07/15 20:34, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
> 
> xen_has_pv_devices has no parameters, so use the normal void
> parameter convention to make it match the prototype in the
> header file include/xen/platform_pci.h

Applied to for-linus-4.3, thanks.

David

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH] xen: fix non-ANSI function declaration of function xen_has_pv_devices
       [not found] <1437075283-18905-1-git-send-email-colin.king@canonical.com>
@ 2015-07-16 19:34 ` Colin King
  2015-07-20 13:28 ` David Vrabel
  1 sibling, 0 replies; 3+ messages in thread
From: Colin King @ 2015-07-16 19:34 UTC (permalink / raw)
  To: Konrad Rzeszutek Wilk, Boris Ostrovsky, David Vrabel,
	Thomas Gleixner, Ingo Molnar, H. Peter Anvin, x86, xen-devel
  Cc: linux-kernel

From: Colin Ian King <colin.king@canonical.com>

xen_has_pv_devices has no parameters, so use the normal void
parameter convention to make it match the prototype in the
header file include/xen/platform_pci.h

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 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;
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-07-20 13:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-16 19:34 [PATCH] xen: fix non-ANSI function declaration of function xen_has_pv_devices Colin King
     [not found] <1437075283-18905-1-git-send-email-colin.king@canonical.com>
2015-07-16 19:34 ` Colin King
2015-07-20 13:28 ` David Vrabel

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).