diff options
author | James Bottomley <jejb@titanic.(none)> | 2005-08-28 12:27:01 -0400 |
---|---|---|
committer | James Bottomley <jejb@titanic.(none)> | 2005-08-28 12:27:01 -0400 |
commit | 1cf72699c1530c3e4ac3d58344f6a6a40a2f46d3 (patch) | |
tree | 501f88d32efe275560c2df1f6c7c6bacf72af4cf /drivers/scsi/sr.c | |
parent | 7a93aef7fbac6f4db40b6fec5c0c6b654ae7a93c (diff) |
[SCSI] convert the remaining mid-layer pieces to scsi_execute_req
After this, we just have some drivers, all the ULDs and the SPI
transport class using scsi_wait_req().
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/sr.c')
-rw-r--r-- | drivers/scsi/sr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/sr.c b/drivers/scsi/sr.c index 2f259f249522..8cbe6e004187 100644 --- a/drivers/scsi/sr.c +++ b/drivers/scsi/sr.c | |||
@@ -817,7 +817,7 @@ static void get_capabilities(struct scsi_cd *cd) | |||
817 | 817 | ||
818 | /* ask for mode page 0x2a */ | 818 | /* ask for mode page 0x2a */ |
819 | rc = scsi_mode_sense(cd->device, 0, 0x2a, buffer, 128, | 819 | rc = scsi_mode_sense(cd->device, 0, 0x2a, buffer, 128, |
820 | SR_TIMEOUT, 3, &data); | 820 | SR_TIMEOUT, 3, &data, NULL); |
821 | 821 | ||
822 | if (!scsi_status_is_good(rc)) { | 822 | if (!scsi_status_is_good(rc)) { |
823 | /* failed, drive doesn't have capabilities mode page */ | 823 | /* failed, drive doesn't have capabilities mode page */ |