Merge tag 'rtc-5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux
[linux-2.6-microblaze.git] / drivers / ata / libata-scsi.c
index 48b8934..fd8b6fe 100644 (file)
@@ -1043,8 +1043,7 @@ int ata_scsi_dev_config(struct scsi_device *sdev, struct ata_device *dev)
                blk_queue_max_segments(q, queue_max_segments(q) - 1);
 
                sdev->dma_drain_len = ATAPI_MAX_DRAIN;
-               sdev->dma_drain_buf = kmalloc(sdev->dma_drain_len,
-                               q->bounce_gfp | GFP_KERNEL);
+               sdev->dma_drain_buf = kmalloc(sdev->dma_drain_len, GFP_NOIO);
                if (!sdev->dma_drain_buf) {
                        ata_dev_err(dev, "drain buffer allocation failed\n");
                        return -ENOMEM;