All of lore.kernel.org
 help / color / mirror / Atom feed
* + scsi-remove-__gfp_dma.patch added to -mm tree
@ 2007-05-21 21:24 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2007-05-21 21:24 UTC (permalink / raw)
  To: mm-commits; +Cc: bwalle, James.Bottomley


The patch titled
     scsi: remove __GFP_DMA
has been added to the -mm tree.  Its filename is
     scsi-remove-__gfp_dma.patch

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: scsi: remove __GFP_DMA
From: Bernhard Walle <bwalle@suse.de>

After 821de3a27bf33f11ec878562577c586cd5f83c64, it's not necessary to
allocate a DMA buffer any more in sd.c.

Signed-off-by: Bernhard Walle <bwalle@suse.de>
Cc: James Bottomley <James.Bottomley@SteelEye.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 drivers/scsi/sd.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/scsi/sd.c~scsi-remove-__gfp_dma drivers/scsi/sd.c
--- a/drivers/scsi/sd.c~scsi-remove-__gfp_dma
+++ a/drivers/scsi/sd.c
@@ -1515,7 +1515,7 @@ static int sd_revalidate_disk(struct gen
 	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");
_

Patches currently in -mm which might be from bwalle@suse.de are

git-r8169.patch
scsi-remove-__gfp_dma.patch

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-05-21 21:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-21 21:24 + scsi-remove-__gfp_dma.patch added to -mm tree akpm

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.