Re: [PATCH] coresight: Use devm_kcalloc() in coresight_alloc_conns()

2020-07-28 Thread Mathieu Poirier
On Sun, 26 Jul 2020 at 19:51, 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 > --- > drivers/hwtracing/coresight/c

[PATCH] coresight: Use devm_kcalloc() in coresight_alloc_conns()

2020-07-26 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/hwtracing/coresight/coresight-platform.c | 2 +- 1 file changed, 1 insertion(+), 1

Re: [PATCH] coresight: Use devm_kcalloc() in coresight_alloc_conns()

2020-05-27 Thread Mathieu Poirier
On Mon, 25 May 2020 at 23:53, 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 > --- > drivers/hwtracing/coresight/c

[PATCH] coresight: Use devm_kcalloc() in coresight_alloc_conns()

2020-05-25 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/hwtracing/coresight/coresight-platform.c | 5 ++--- 1 file changed, 2 insertions(+