2004-04-28 19:33:44

by Martin Schwidefsky

[permalink] [raw]
Subject: [PATCH] s390 (5/6): zfcp host adapter.

[PATCH] s390: core changes.

From: Martin Schwidefsky <[email protected]>

zfcp host adapter change:
- Fix addressing exception due to uninitialized host_scribble pointer.

diffstat:
drivers/s390/scsi/zfcp_scsi.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff -urN linux-2.6/drivers/s390/scsi/zfcp_scsi.c linux-2.6-s390/drivers/s390/scsi/zfcp_scsi.c
--- linux-2.6/drivers/s390/scsi/zfcp_scsi.c Wed Apr 28 17:51:16 2004
+++ linux-2.6-s390/drivers/s390/scsi/zfcp_scsi.c Wed Apr 28 17:51:40 2004
@@ -31,7 +31,7 @@
#define ZFCP_LOG_AREA ZFCP_LOG_AREA_SCSI

/* this drivers version (do not edit !!! generated and updated by cvs) */
-#define ZFCP_SCSI_REVISION "$Revision: 1.60 $"
+#define ZFCP_SCSI_REVISION "$Revision: 1.61 $"

#include <linux/blkdev.h>

@@ -345,7 +345,7 @@

/* reset the status for this request */
scpnt->result = 0;
- /* save address of mid layer call back function */
+ scpnt->host_scribble = NULL;
scpnt->scsi_done = done;

/*