Tag: 472d640bd0fe5b28332b277316cff1dadf40d083

crypto: marvell/cesa – 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: Boris Brezillon Signed-off-by: Herbert Xu — drivers/crypto/marvell/tdma.c | …

Continue reading