diff options
Diffstat (limited to 'drivers/ata/libata-scsi.c')
-rw-r--r-- | drivers/ata/libata-scsi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ata/libata-scsi.c b/drivers/ata/libata-scsi.c index 0b2e14f67655..4040d8b53216 100644 --- a/drivers/ata/libata-scsi.c +++ b/drivers/ata/libata-scsi.c | |||
@@ -517,7 +517,7 @@ int ata_cmd_ioctl(struct scsi_device *scsidev, void __user *arg) | |||
517 | /* Good values for timeout and retries? Values below | 517 | /* Good values for timeout and retries? Values below |
518 | from scsi_ioctl_send_command() for default case... */ | 518 | from scsi_ioctl_send_command() for default case... */ |
519 | cmd_result = scsi_execute(scsidev, scsi_cmd, data_dir, argbuf, argsize, | 519 | cmd_result = scsi_execute(scsidev, scsi_cmd, data_dir, argbuf, argsize, |
520 | sensebuf, (10*HZ), 5, 0); | 520 | sensebuf, (10*HZ), 5, 0, NULL); |
521 | 521 | ||
522 | if (driver_byte(cmd_result) == DRIVER_SENSE) {/* sense data available */ | 522 | if (driver_byte(cmd_result) == DRIVER_SENSE) {/* sense data available */ |
523 | u8 *desc = sensebuf + 8; | 523 | u8 *desc = sensebuf + 8; |
@@ -603,7 +603,7 @@ int ata_task_ioctl(struct scsi_device *scsidev, void __user *arg) | |||
603 | /* Good values for timeout and retries? Values below | 603 | /* Good values for timeout and retries? Values below |
604 | from scsi_ioctl_send_command() for default case... */ | 604 | from scsi_ioctl_send_command() for default case... */ |
605 | cmd_result = scsi_execute(scsidev, scsi_cmd, DMA_NONE, NULL, 0, | 605 | cmd_result = scsi_execute(scsidev, scsi_cmd, DMA_NONE, NULL, 0, |
606 | sensebuf, (10*HZ), 5, 0); | 606 | sensebuf, (10*HZ), 5, 0, NULL); |
607 | 607 | ||
608 | if (driver_byte(cmd_result) == DRIVER_SENSE) {/* sense data available */ | 608 | if (driver_byte(cmd_result) == DRIVER_SENSE) {/* sense data available */ |
609 | u8 *desc = sensebuf + 8; | 609 | u8 *desc = sensebuf + 8; |