Re: [PATCH] ionic_lif: Use devm_kcalloc() in ionic_qcq_alloc()

2020-08-11 Thread David Miller
From: Xu Wang Date: Mon, 10 Aug 2020 02:38:07 + > 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.

Re: [PATCH] ionic_lif: Use devm_kcalloc() in ionic_qcq_alloc()

2020-08-09 Thread Shannon Nelson
On 8/9/20 7:38 PM, Xu Wang wrote: 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 Acked-by: Shannon Nelson --- drivers/net/ethernet/pe

Re: [PATCH] ionic_lif: Use devm_kcalloc() in ionic_qcq_alloc()

2020-08-09 Thread Joe Perches
On Sun, 2020-08-09 at 20:50 -0700, Shannon Nelson wrote: > On 8/9/20 8:20 PM, Joe Perches wrote: > > On Mon, 2020-08-10 at 02:38 +, Xu Wang wrote: > > > A multiplication for the size determination of a memory allocation > > > indicated that an array data structure should be processed. > > > Thu

Re: [PATCH] ionic_lif: Use devm_kcalloc() in ionic_qcq_alloc()

2020-08-09 Thread Shannon Nelson
On 8/9/20 8:20 PM, Joe Perches wrote: On Mon, 2020-08-10 at 02:38 +, Xu Wang wrote: 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". [] diff --git a/drivers/net

Re: [PATCH] ionic_lif: Use devm_kcalloc() in ionic_qcq_alloc()

2020-08-09 Thread Joe Perches
On Mon, 2020-08-10 at 02:38 +, Xu Wang wrote: > 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". [] > diff --git a/drivers/net/ethernet/pensando/ionic/ionic_lif.

[PATCH] ionic_lif: Use devm_kcalloc() in ionic_qcq_alloc()

2020-08-09 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/pensando/ionic/ionic_lif.c | 4 ++-- 1 file changed, 2 insertions(+),