[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] mini-os: stop compiler complaint about unused variables



# HG changeset patch
# User John McDermott <john.mcdermott@xxxxxxxxxxxx>
# Date 1328803385 0
# Node ID 86f2630d62a913d74367aa4fb1350439dda03c95
# Parent  9fc810bb814558bc5c8f9d086af7576516e07244
mini-os: stop compiler complaint about unused variables

gcc (GCC) 4.6.2 20111027 (Red Hat 4.6.2-1) complains about unused variables
in mini-os drivers

Signed-off-by: John McDermott <john.mcdermott@xxxxxxxxxxxx>
Acked-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
Committed-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---


diff -r 9fc810bb8145 -r 86f2630d62a9 extras/mini-os/blkfront.c
--- a/extras/mini-os/blkfront.c Thu Feb 09 16:39:16 2012 +0100
+++ b/extras/mini-os/blkfront.c Thu Feb 09 16:03:05 2012 +0000
@@ -171,6 +171,7 @@
 abort_transaction:
     free(err);
     err = xenbus_transaction_end(xbt, 1, &retry);
+    printk("Abort transaction %s\n", message);
     goto error;
 
 done:
diff -r 9fc810bb8145 -r 86f2630d62a9 extras/mini-os/console/xencons_ring.c
--- a/extras/mini-os/console/xencons_ring.c     Thu Feb 09 16:39:16 2012 +0100
+++ b/extras/mini-os/console/xencons_ring.c     Thu Feb 09 16:03:05 2012 +0000
@@ -317,6 +317,7 @@
 abort_transaction:
     free(err);
     err = xenbus_transaction_end(xbt, 1, &retry);
+    printk("Abort transaction %s\n", message);
     goto error;
 
 done:
diff -r 9fc810bb8145 -r 86f2630d62a9 extras/mini-os/fbfront.c
--- a/extras/mini-os/fbfront.c  Thu Feb 09 16:39:16 2012 +0100
+++ b/extras/mini-os/fbfront.c  Thu Feb 09 16:03:05 2012 +0000
@@ -142,6 +142,7 @@
 abort_transaction:
     free(err);
     err = xenbus_transaction_end(xbt, 1, &retry);
+    printk("Abort transaction %s\n", message);
     goto error;
 
 done:
@@ -503,6 +504,7 @@
 abort_transaction:
     free(err);
     err = xenbus_transaction_end(xbt, 1, &retry);
+    printk("Abort transaction %s\n", message);
     goto error;
 
 done:
diff -r 9fc810bb8145 -r 86f2630d62a9 extras/mini-os/netfront.c
--- a/extras/mini-os/netfront.c Thu Feb 09 16:39:16 2012 +0100
+++ b/extras/mini-os/netfront.c Thu Feb 09 16:03:05 2012 +0000
@@ -421,6 +421,7 @@
 abort_transaction:
     free(err);
     err = xenbus_transaction_end(xbt, 1, &retry);
+    printk("Abort transaction %s\n", message);
     goto error;
 
 done:
diff -r 9fc810bb8145 -r 86f2630d62a9 extras/mini-os/pcifront.c
--- a/extras/mini-os/pcifront.c Thu Feb 09 16:39:16 2012 +0100
+++ b/extras/mini-os/pcifront.c Thu Feb 09 16:03:05 2012 +0000
@@ -222,6 +222,7 @@
 abort_transaction:
     free(err);
     err = xenbus_transaction_end(xbt, 1, &retry);
+    printk("Abort transaction %s\n", message);
     goto error;
 
 done:

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.