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] pvSCSI: fix slight issue

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [linux-2.6.18-xen] pvSCSI: fix slight issue
From: "Xen patchbot-linux-2.6.18-xen" <patchbot-linux-2.6.18-xen@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 11 Dec 2008 14:00:09 -0800
Delivery-date: Thu, 11 Dec 2008 14:00:03 -0800
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 1228915283 0
# Node ID 2fa1d9446f2fdc7e9361e55ebc82d8dcf33ad13e
# Parent  8e3025f947902bd30587359d0bfd3431c4cd0b67
pvSCSI: fix slight issue

Signed-off-by: James Harper <james.harper@xxxxxxxxxxxxxxxx>
Signed-off-by: Tomonari Horikoshi <t.horikoshi@xxxxxxxxxxxxxx>
Signed-off-by: Jun Kamada <kama@xxxxxxxxxxxxxx>
---
 drivers/xen/scsiback/scsiback.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletion(-)

diff -r 8e3025f94790 -r 2fa1d9446f2f drivers/xen/scsiback/scsiback.c
--- a/drivers/xen/scsiback/scsiback.c   Tue Dec 09 13:03:44 2008 +0000
+++ b/drivers/xen/scsiback/scsiback.c   Wed Dec 10 13:21:23 2008 +0000
@@ -216,14 +216,16 @@ static void scsiback_print_status(char *
 }
 
 
-static void scsiback_cmd_done(struct request *req, int errors)
+static void scsiback_cmd_done(struct request *req, int uptodate)
 {
        pending_req_t *pending_req = req->end_io_data;
        unsigned char *sense_buffer;
        unsigned int resid;
+       int errors;
 
        sense_buffer = req->sense;
        resid        = req->data_len;
+       errors       = req->errors;
 
        if (errors != 0) {
                if (log_print_stat)

_______________________________________________
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] pvSCSI: fix slight issue, Xen patchbot-linux-2.6.18-xen <=