[merged] sh-remove-call-to-memset-after-dma_alloc_coherent.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     Subject: sh: remove call to memset after dma_alloc_coherent
has been removed from the -mm tree.  Its filename was
     sh-remove-call-to-memset-after-dma_alloc_coherent.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Chen Zhou <chenzhou10@xxxxxxxxxx>
Subject: sh: remove call to memset after dma_alloc_coherent

Function dma_alloc_coherent use in buf already zeroes out memory,
so memset is not needed.

Link: https://marc.info/?l=linux-sh&m=157793031102356
Signed-off-by: Chen Zhou <chenzhou10@xxxxxxxxxx>
Cc: Alan Modra <amodra@xxxxxxxxx>
Cc: Bin Meng <bin.meng@xxxxxxxxxxxxx>
Cc: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
Cc: John Paul Adrian Glaubitz <glaubitz@xxxxxxxxxxxxxxxxxxx>
Cc: Krzysztof Kozlowski <krzk@xxxxxxxxxx>
Cc: Kuninori Morimoto <kuninori.morimoto.gx@xxxxxxxxxxx>
Cc: Rich Felker <dalias@xxxxxxxx>
Cc: Romain Naour <romain.naour@xxxxxxxxx>
Cc: Sam Ravnborg <sam@xxxxxxxxxxxx>
Cc: Yoshinori Sato <ysato@xxxxxxxxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 arch/sh/mm/consistent.c |    2 --
 1 file changed, 2 deletions(-)

--- a/arch/sh/mm/consistent.c~sh-remove-call-to-memset-after-dma_alloc_coherent
+++ a/arch/sh/mm/consistent.c
@@ -57,8 +57,6 @@ int __init platform_resource_setup_memor
 		return -ENOMEM;
 	}
 
-	memset(buf, 0, memsize);
-
 	r->flags = IORESOURCE_MEM;
 	r->start = dma_handle;
 	r->end = r->start + memsize - 1;
_

Patches currently in -mm which might be from chenzhou10@xxxxxxxxxx are





[Index of Archives]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux