Re: [PATCH] dmaengine: idxd: No need to clear memory after a dma_alloc_coherent() call

From: Bernd Petrovitsch
Date: Tue May 30 2023 - 14:31:48 EST


On 28/05/2023 16:11, Christophe JAILLET wrote:
dma_alloc_coherent() already clear the allocated memory, there is no need
to explicitly call memset().

Hmm, so wouldn't be dma_zalloc_coherent() a better name for the function?

Kind regards,
Bernd
--
Bernd Petrovitsch Email : bernd@xxxxxxxxxxxxxxxxxxx
There is NO CLOUD, just other people's computers. - FSFE
LUGA : http://www.luga.at