summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/sun3_NCR5380.c
diff options
context:
space:
mode:
authorMatthew Wilcox <matthew@wil.cx>2007-09-25 12:42:01 -0400
committerJames Bottomley <jejb@mulgrave.localdomain>2007-10-12 14:52:04 -0400
commitcce99c6925b8d6a59cf584411277c1c20c330334 (patch)
tree513504b6a22be6cc9b7d6689cccb2a48ee6dd4cd /drivers/scsi/sun3_NCR5380.c
parent1d0c7c8dcf289557f13b6b0f6d71b6a03b12b747 (diff)
downloadop-kernel-dev-cce99c6925b8d6a59cf584411277c1c20c330334.zip
op-kernel-dev-cce99c6925b8d6a59cf584411277c1c20c330334.tar.gz
[SCSI] Fix mistaken uses of ->done
All these drivers meant to call ->scsi_done() but got confused. Signed-off-by: Matthew Wilcox <willy@linux.intel.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/sun3_NCR5380.c')
-rw-r--r--drivers/scsi/sun3_NCR5380.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/sun3_NCR5380.c b/drivers/scsi/sun3_NCR5380.c
index 98e3fe1..3769537 100644
--- a/drivers/scsi/sun3_NCR5380.c
+++ b/drivers/scsi/sun3_NCR5380.c
@@ -2055,7 +2055,7 @@ static void NCR5380_information_transfer (struct Scsi_Host *instance)
sink = 1;
do_abort(instance);
cmd->result = DID_ERROR << 16;
- cmd->done(cmd);
+ cmd->scsi_done(cmd);
return;
#endif
case PHASE_DATAIN:
@@ -2115,7 +2115,7 @@ static void NCR5380_information_transfer (struct Scsi_Host *instance)
sink = 1;
do_abort(instance);
cmd->result = DID_ERROR << 16;
- cmd->done(cmd);
+ cmd->scsi_done(cmd);
/* XXX - need to source or sink data here, as appropriate */
} else {
#ifdef REAL_DMA
OpenPOWER on IntegriCloud