diff options
author | Matthew Wilcox <matthew@wil.cx> | 2007-09-25 12:42:01 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.localdomain> | 2007-10-12 14:52:04 -0400 |
commit | cce99c6925b8d6a59cf584411277c1c20c330334 (patch) | |
tree | 513504b6a22be6cc9b7d6689cccb2a48ee6dd4cd /drivers/scsi/atari_NCR5380.c | |
parent | 1d0c7c8dcf289557f13b6b0f6d71b6a03b12b747 (diff) |
[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/atari_NCR5380.c')
-rw-r--r-- | drivers/scsi/atari_NCR5380.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/atari_NCR5380.c b/drivers/scsi/atari_NCR5380.c index 03dbe60c264a..743df4c20cf4 100644 --- a/drivers/scsi/atari_NCR5380.c +++ b/drivers/scsi/atari_NCR5380.c | |||
@@ -2041,7 +2041,7 @@ static void NCR5380_information_transfer(struct Scsi_Host *instance) | |||
2041 | sink = 1; | 2041 | sink = 1; |
2042 | do_abort(instance); | 2042 | do_abort(instance); |
2043 | cmd->result = DID_ERROR << 16; | 2043 | cmd->result = DID_ERROR << 16; |
2044 | cmd->done(cmd); | 2044 | cmd->scsi_done(cmd); |
2045 | return; | 2045 | return; |
2046 | #endif | 2046 | #endif |
2047 | case PHASE_DATAIN: | 2047 | case PHASE_DATAIN: |
@@ -2100,7 +2100,7 @@ static void NCR5380_information_transfer(struct Scsi_Host *instance) | |||
2100 | sink = 1; | 2100 | sink = 1; |
2101 | do_abort(instance); | 2101 | do_abort(instance); |
2102 | cmd->result = DID_ERROR << 16; | 2102 | cmd->result = DID_ERROR << 16; |
2103 | cmd->done(cmd); | 2103 | cmd->scsi_done(cmd); |
2104 | /* XXX - need to source or sink data here, as appropriate */ | 2104 | /* XXX - need to source or sink data here, as appropriate */ |
2105 | } else { | 2105 | } else { |
2106 | #ifdef REAL_DMA | 2106 | #ifdef REAL_DMA |