WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] linux/blktap2: properly suppress compiler warning
From: "Jan Beulich" <JBeulich@xxxxxxxxxx>
Date: Mon, 27 Jul 2009 10:27:47 +0100
Delivery-date: Mon, 27 Jul 2009 02:28:14 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] linux/blktap2: properly suppress compiler warning, Jan Beulich <=