On Fri, 2019-06-28 at 02:48:13 UTC, Fuqian Huang wrote: > Replace kmalloc followed by a memset with kzalloc. > > There is a recommendation to use zeroing allocator > rather than allocator followed by memset with 0 in > ./scripts/coccinelle/api/alloc/zalloc-simple.cocci > > Signed-off-by: Fuqian Huang <huangfq.daxian@xxxxxxxxx> Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks. Miquel ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/