From: Bernhard Walle Date: Mon, 21 May 2007 15:15:26 +0000 (+0200) Subject: [SCSI] sd: remove __GFP_DMA X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a6123f142924a5e21f6d48e6e3c67d9060726caa;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git [SCSI] sd: remove __GFP_DMA After 821de3a27bf33f11ec878562577c586cd5f83c64, it's not necessary to alloate a DMA buffer any more in sd.c. Signed-off-by: Bernhard Walle Signed-off-by: James Bottomley --- diff --git a/drivers/scsi/sd.c b/drivers/scsi/sd.c index 00e46662296..f071b9edaf3 100644 --- a/drivers/scsi/sd.c +++ b/drivers/scsi/sd.c @@ -1515,7 +1515,7 @@ static int sd_revalidate_disk(struct gendisk *disk) if (!scsi_device_online(sdp)) goto out; - buffer = kmalloc(SD_BUF_SIZE, GFP_KERNEL | __GFP_DMA); + buffer = kmalloc(SD_BUF_SIZE, GFP_KERNEL); if (!buffer) { sd_printk(KERN_WARNING, sdkp, "sd_revalidate_disk: Memory " "allocation failure.\n");