Jan Beulich
2009-Jul-27 09:27 UTC
[Xen-devel] [PATCH] linux/blktap2: properly suppress compiler warning
Signed-off-by: Jan Beulich <jbeulich@novell.com> --- 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@lists.xensource.com http://lists.xensource.com/xen-devel