Re: [PATCH] drivers: dpaa2: Use devm_kcalloc() in setup_dpni()

2020-06-11 Thread David Miller
From: Xu Wang Date: Thu, 11 Jun 2020 02:45:20 + > 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] drivers: dpaa2: Use devm_kcalloc() in setup_dpni()

2020-06-10 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/freescale/dpaa2/dpaa2-eth.c | 5 +++-- 1 file changed, 3 insertions(+