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

2020-08-17 Thread David Miller
From: Xu Wang Date: Mon, 17 Aug 2020 02:04:13 + > 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 Applied, thanks.

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

2020-08-16 Thread Xu Wang
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 --- drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c | 4 ++-- 1 file changed, 2