Re: [PATCH] otx2_common: Use devm_kcalloc() in otx2_config_npa()

From: David Miller
Date: Mon Aug 17 2020 - 18:08:58 EST


From: Xu Wang <vulab@xxxxxxxxxxx>
Date: Mon, 17 Aug 2020 02:04:13 +0000

> A multiplication for the size determination of a memory allocation
> indicated that an array data structure should be processed.
> Thus use the corresponding function "devm_kcalloc".
>
> Signed-off-by: Xu Wang <vulab@xxxxxxxxxxx>

Applied, thanks.