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