xen/arm: smmuv1: Switch from kzalloc_array(..) to devm_kcalloc(..)
authorRahul Singh <rahul.singh@arm.com>
Tue, 6 Jul 2021 10:53:59 +0000 (11:53 +0100)
committerJulien Grall <jgrall@amazon.com>
Wed, 7 Jul 2021 13:08:15 +0000 (14:08 +0100)
commite362d3276d40e4f370c92eaa6c0e84e34badb92b
tree7153ef3bee69b71bc3a1e891867e50fe97be0952
parent63fdea768d175e96443a53b95a6441f520743e2e
xen/arm: smmuv1: Switch from kzalloc_array(..) to devm_kcalloc(..)

Switch from kzalloc_array(..) to devm_kcalloc(..) when allocating the
SMR to make code coherent.

Signed-off-by: Rahul Singh <rahul.singh@arm.com>
Reviewed-by: Bertrand Marquis <bertrand.marquis@arm.com>
Acked-by: Julien Grall <jgrall@amazon.com>
xen/drivers/passthrough/arm/smmu.c