Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1186211 > unrolled thread

[PATCH] xen: fix non-ANSI function declaration of function xen_has_pv_devices

Started byColin King <colin.king@canonical.com>
First post2015-07-16 21:40 +0200
Last post2015-07-20 15:30 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] xen: fix non-ANSI function declaration of function xen_has_pv_devices Colin King <colin.king@canonical.com> - 2015-07-16 21:40 +0200
    Re: [Xen-devel] [PATCH] xen: fix non-ANSI function declaration of  function xen_has_pv_devices David Vrabel <david.vrabel@citrix.com> - 2015-07-20 15:30 +0200

#1186211 — [PATCH] xen: fix non-ANSI function declaration of function xen_has_pv_devices

FromColin King <colin.king@canonical.com>
Date2015-07-16 21:40 +0200
Subject[PATCH] xen: fix non-ANSI function declaration of function xen_has_pv_devices
Message-ID<pMXaG-7Oc-5@gated-at.bofh.it>
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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1188187 — Re: [Xen-devel] [PATCH] xen: fix non-ANSI function declaration of function xen_has_pv_devices

FromDavid Vrabel <david.vrabel@citrix.com>
Date2015-07-20 15:30 +0200
SubjectRe: [Xen-devel] [PATCH] xen: fix non-ANSI function declaration of function xen_has_pv_devices
Message-ID<pOjiN-2s6-1@gated-at.bofh.it>
In reply to#1186211
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web