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-changelog

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

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [linux-2.6.18-xen] blktap2: properly suppress compiler warning
From: "Xen patchbot-linux-2.6.18-xen" <patchbot-linux-2.6.18-xen@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 28 Jul 2009 09:11:16 -0700
Delivery-date: Tue, 28 Jul 2009 09:14:10 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [linux-2.6.18-xen] blktap2: properly suppress compiler warning, Xen patchbot-linux-2.6.18-xen <=