aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mpi/mpicoder.c
diff options
context:
space:
mode:
authorFabio Estevam <[email protected]>2015-08-21 16:52:00 +0000
committerHerbert Xu <[email protected]>2015-08-24 14:07:42 +0000
commit9c4f9733e26f0d6977096fcafe71ea2ba9f0cd7c (patch)
tree4022ae408c94a729cc5483c851d028ced580847b /lib/mpi/mpicoder.c
parentcrypto: caam - Propagate the real error code in caam_probe (diff)
downloadkernel-9c4f9733e26f0d6977096fcafe71ea2ba9f0cd7c.tar.gz
kernel-9c4f9733e26f0d6977096fcafe71ea2ba9f0cd7c.zip
crypto: caam - Use the preferred style for memory allocations
"The preferred form for passing a size of a struct is the following: p = kmalloc(sizeof(*p), ...); .... The preferred form for allocating a zeroed array is the following: p = kcalloc(n, sizeof(...), ...); " ,so do as suggested. Signed-off-by: Fabio Estevam <[email protected]> Reviewed-by: Horia Geant? <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'lib/mpi/mpicoder.c')
0 files changed, 0 insertions, 0 deletions