Skip to contentSkip to conversation

linux/blktap2: properly suppress compiler warning

PATCH New Jan Beulich 1 participant 1 message Jul 27, 2009 Xen hypervisor interface

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 linux/blktap2: properly suppress compiler warning

drivers/xen/blktap2/device.c +2 -2
@@ -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;
 	}