Tag: 2ba4f8abfe450ddf55bf6c79b4650525b37f6962

dmaengine: vdma: Use dma_pool_zalloc

Author: Julia Lawall <Julia.Lawall@lip6.fr> Dma_pool_zalloc combines dma_pool_alloc and memset 0. The semantic patch that makes this transformation is as follows: (http://coccinelle.lip6.fr/) // @@ expression d,e; statement S; @@ d = – dma_pool_alloc + dma_pool_zalloc (…); if (!d) S – memset(d, 0, sizeof(*d)); // Signed-off-by: Julia Lawall Acked-by: Sören Brinkmann Signed-off-by: Vinod Koul — drivers/dma/xilinx/xilinx_vdma.c | …

Continue reading

BtrLinux
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.