diff options
Diffstat (limited to 'drivers/ata/libata-scsi.c')
-rw-r--r-- | drivers/ata/libata-scsi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/libata-scsi.c b/drivers/ata/libata-scsi.c index 989b7755af3d..3fd08201bef4 100644 --- a/drivers/ata/libata-scsi.c +++ b/drivers/ata/libata-scsi.c | |||
@@ -2331,7 +2331,7 @@ static void atapi_request_sense(struct ata_queued_cmd *qc) | |||
2331 | DPRINTK("ATAPI request sense\n"); | 2331 | DPRINTK("ATAPI request sense\n"); |
2332 | 2332 | ||
2333 | /* FIXME: is this needed? */ | 2333 | /* FIXME: is this needed? */ |
2334 | memset(cmd->sense_buffer, 0, sizeof(cmd->sense_buffer)); | 2334 | memset(cmd->sense_buffer, 0, SCSI_SENSE_BUFFERSIZE); |
2335 | 2335 | ||
2336 | ap->ops->tf_read(ap, &qc->tf); | 2336 | ap->ops->tf_read(ap, &qc->tf); |
2337 | 2337 | ||