summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorThorsten Blum <thorsten.blum@linux.dev>2025-02-11 01:36:44 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2025-02-22 10:56:03 +0300
commit4f95a6d2748acffaf866cc58e51d2fd00227e91b (patch)
treea687c3ced0320fccacd8a716c83ffa608d65345d /include/linux
parent0926d8ee088f67d9e4ea0da7efbe369da52e68a8 (diff)
downloadlinux-4f95a6d2748acffaf866cc58e51d2fd00227e91b.tar.xz
crypto: bcm - set memory to zero only once
Use kmalloc_array() instead of kcalloc() because sg_init_table() already sets the memory to zero. This avoids zeroing the memory twice. Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions