Re: [PATCH] mtd: tests: consolidate kmalloc/memset 0 call to kzalloc

2016-01-06 Thread Brian Norris
On Thu, Dec 31, 2015 at 04:21:22PM +0100, Nicholas Mc Guire wrote: > This is an API consolidation only. The use of kmalloc + memset to 0 > is equivalent to kzalloc. > > Signed-off-by: Nicholas Mc Guire Applied to l2-mtd.git -- To unsubscribe from this list: send the line "unsubscribe linux-kerne

[PATCH] mtd: tests: consolidate kmalloc/memset 0 call to kzalloc

2015-12-31 Thread Nicholas Mc Guire
This is an API consolidation only. The use of kmalloc + memset to 0 is equivalent to kzalloc. Signed-off-by: Nicholas Mc Guire --- Found by coccinelle script (relaxed version of scripts/coccinelle/api/alloc/kzalloc-simple.cocci) Patch was compile tested with: nhk8815_defconfig (implies CONFIG_M