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

[Xen-changelog] [linux-2.6.18-xen] build (with DEBUG set) fix for 1180:607eb9bebe75


  • To: xen-changelog@xxxxxxxxxxxxxxxxxxx
  • From: Xen patchbot-linux-2.6.18-xen <patchbot@xxxxxxx>
  • Date: Tue, 12 Jun 2012 14:11:02 +0000
  • Delivery-date: Tue, 12 Jun 2012 14:11:12 +0000
  • List-id: "Change log for Mercurial \(receive only\)" <xen-changelog.lists.xen.org>

# HG changeset patch
# User Jan Beulich <jbeulich@xxxxxxxx>
# Date 1339509988 -7200
# Node ID 7b36058ce050a6f55f33849f0528410288e72b59
# Parent  31e001f38b57f01265a15aa555355075a943897e
build (with DEBUG set) fix for 1180:607eb9bebe75

The operands of a DPRINTK() were swapped. Also put the whole message on
a single line and adjust the status code format specifier.

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
---


diff -r 31e001f38b57 -r 7b36058ce050 drivers/xen/blkfront/blkfront.c
--- a/drivers/xen/blkfront/blkfront.c   Tue Jun 12 14:57:33 2012 +0200
+++ b/drivers/xen/blkfront/blkfront.c   Tue Jun 12 16:06:28 2012 +0200
@@ -835,9 +835,9 @@ static irqreturn_t blkif_int(int irq, vo
                case BLKIF_OP_READ:
                case BLKIF_OP_WRITE:
                        if (unlikely(bret->status != BLKIF_RSP_OKAY))
-                               DPRINTK("Bad return from blkdev %s "
-                                       "request: %x\n", bret->status,
-                                       op_name(bret->operation));
+                               DPRINTK("Bad return from blkdev %s request: 
%d\n",
+                                       op_name(bret->operation),
+                                       bret->status);
 
                        ret = end_that_request_first(req, uptodate,
                                req->hard_nr_sectors);

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
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®.