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 xen-unstable] blktap - remove warning message

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH xen-unstable] blktap - remove warning message
From: Mike Day <ncmike@xxxxxxxxxx>
Date: Mon, 11 Sep 2006 11:54:49 -0400
Delivery-date: Mon, 11 Sep 2006 08:45:59 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: IBM Linux Technology Center
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.1i

Remove warning message in blktap.c

signed-off-by Mike D. Day <mdday@xxxxxxxxxx>
---
# HG changeset patch
# User mdday@xxxxxxxxxxxxxxxxxxxxx
# Node ID 48b630aa37d26044ada817e0bc2f393d9536e5b3
# Parent  bfd00b317815f2d1c8989b55a4cfd174da043e43
remove warning message

diff -r bfd00b317815 -r 48b630aa37d2 
linux-2.6-xen-sparse/drivers/xen/blktap/blktap.c
--- a/linux-2.6-xen-sparse/drivers/xen/blktap/blktap.c  Mon Sep 11 01:55:03 
2006 +0100
+++ b/linux-2.6-xen-sparse/drivers/xen/blktap/blktap.c  Mon Sep 11 11:36:44 
2006 -0400
@@ -814,7 +814,10 @@ static void mmap_req_del(int mmap)
}

/*N.B. Currently unused - will be accessed via sysfs*/
-static void req_decrease(void)
+
+static void req_decrease(void) __attribute(( used ));
+
+static void req_decrease(void) {
        pending_req_t *req;
        int i;

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH xen-unstable] blktap - remove warning message, Mike Day <=