On 8/21/2015 5:49 PM, Fabio Estevam wrote: > From: Fabio Estevam <fabio.estevam@xxxxxxxxxxxxx> > >>From Documentation/CodingStyle: > > "The preferred form for allocating a zeroed array is the following: > > p = kcalloc(n, sizeof(...), ...); " > > , so do as suggested. > > Signed-off-by: Fabio Estevam <fabio.estevam@xxxxxxxxxxxxx> While here, you could also address the following: drivers/crypto/caam/caamalg.c:4317 drivers/crypto/caam/caamhash.c:1844 drivers/crypto/caam/caamrng.c:354 drivers/crypto/caam/jr.c:413 drivers/crypto/caam/jr.c:418 drivers/crypto/caam/jr.c:423 drivers/crypto/caam/jr.c:482 (and any other place that I might've missed). Since related, I guess the changes (3/4, 4/4 and above) could live in a single patch. Thanks, Horia -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html