[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [linux-2.6.18-xen] blktap2: properly suppress compiler warning



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1248794951 -3600
# Node ID 15da3cf243a30c1b7549e723ad392bdc90a88fd0
# Parent  899d28ee5c7d445737f976b6cf69a7d9bed452b8
blktap2: properly suppress compiler warning

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
---
 drivers/xen/blktap2/device.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -r 899d28ee5c7d -r 15da3cf243a3 drivers/xen/blktap2/device.c
--- a/drivers/xen/blktap2/device.c      Fri Jul 24 10:28:33 2009 +0100
+++ b/drivers/xen/blktap2/device.c      Tue Jul 28 16:29:11 2009 +0100
@@ -611,8 +611,8 @@ blktap_map(struct blktap *tap,
                        struct gnttab_unmap_grant_ref unmap;
                        gnttab_set_unmap_op(&unmap, kvaddr,
                                            GNTMAP_host_map, gref);
-                       (void)HYPERVISOR_grant_table_op(
-                               GNTTABOP_unmap_grant_ref, &unmap, 1);
+                       VOID(HYPERVISOR_grant_table_op(
+                               GNTTABOP_unmap_grant_ref, &unmap, 1));
                } else
                        request->handles[seg].kernel = gref;
        }

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.