diff options
Diffstat (limited to 'drivers/ata')
-rw-r--r-- | drivers/ata/libata-scsi.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/ata/libata-scsi.c b/drivers/ata/libata-scsi.c index 479c29e2e25c..f3b4b15a8dc4 100644 --- a/drivers/ata/libata-scsi.c +++ b/drivers/ata/libata-scsi.c | |||
@@ -964,7 +964,8 @@ static int ata_scsi_dev_config(struct scsi_device *sdev, | |||
964 | /* set the min alignment and padding */ | 964 | /* set the min alignment and padding */ |
965 | blk_queue_update_dma_alignment(sdev->request_queue, | 965 | blk_queue_update_dma_alignment(sdev->request_queue, |
966 | ATA_DMA_PAD_SZ - 1); | 966 | ATA_DMA_PAD_SZ - 1); |
967 | blk_queue_dma_pad(sdev->request_queue, ATA_DMA_PAD_SZ - 1); | 967 | blk_queue_update_dma_pad(sdev->request_queue, |
968 | ATA_DMA_PAD_SZ - 1); | ||
968 | 969 | ||
969 | /* configure draining */ | 970 | /* configure draining */ |
970 | buf = kmalloc(ATAPI_MAX_DRAIN, q->bounce_gfp | GFP_KERNEL); | 971 | buf = kmalloc(ATAPI_MAX_DRAIN, q->bounce_gfp | GFP_KERNEL); |