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

[Xen-devel] [PATCH] linux/blktap2: properly suppress compiler warning



Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>

--- sle10sp3-2009-07-27.orig/drivers/xen/blktap2/device.c       2009-07-27 
09:50:05.000000000 +0200
+++ sle10sp3-2009-07-27/drivers/xen/blktap2/device.c    2009-07-27 
11:12:20.000000000 +0200
@@ -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-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

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