crypto: hisilicon/qm - replace devm_kzalloc with devm_kcalloc
authorEthan Carter Edwards <ethan@ethancedwards.com>
Sat, 3 May 2025 20:21:28 +0000 (16:21 -0400)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 5 May 2025 10:20:46 +0000 (18:20 +0800)
commit7c234e138c67c1157b17f1fab8cc95d62f8f4444
treeec5292f63b1f5ae1da25e0c8ea4dbe1e2ebebf01
parentf1fb16efe50bb7953ef3c224e1b3802559d26cc3
crypto: hisilicon/qm - replace devm_kzalloc with devm_kcalloc

Replace devm_kzalloc that has an internal multiplication with
devm_kcalloc to improve code readability and safety from overflows.

Signed-off-by: Ethan Carter Edwards <ethan@ethancedwards.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/hisilicon/qm.c