aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata')
-rw-r--r--drivers/ata/libata-eh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/libata-eh.c b/drivers/ata/libata-eh.c
index ce2ef0475339..009ccc7c9865 100644
--- a/drivers/ata/libata-eh.c
+++ b/drivers/ata/libata-eh.c
@@ -2901,7 +2901,7 @@ static int atapi_eh_clear_ua(struct ata_device *dev)
2901 int i; 2901 int i;
2902 2902
2903 for (i = 0; i < ATA_EH_UA_TRIES; i++) { 2903 for (i = 0; i < ATA_EH_UA_TRIES; i++) {
2904 u8 sense_buffer[SCSI_SENSE_BUFFERSIZE]; 2904 u8 *sense_buffer = dev->link->ap->sector_buf;
2905 u8 sense_key = 0; 2905 u8 sense_key = 0;
2906 unsigned int err_mask; 2906 unsigned int err_mask;
2907 2907