Re: [greybus-dev] [PATCH] staging: greybus: power_supply: replace kzalloc by kcalloc

2017-05-11 Thread Viresh Kumar
On 11-05-17, 22:58, JB Van Puyvelde wrote: > According to checkpatch.pl, kcalloc should be preferred to kzalloc with > multiply. > > Signed-off-by: JB Van Puyvelde > --- > drivers/staging/greybus/power_supply.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [greybus-dev] [PATCH] staging: greybus: power_supply: replace kzalloc by kcalloc

2017-05-11 Thread Viresh Kumar
On 11-05-17, 22:58, JB Van Puyvelde wrote: > According to checkpatch.pl, kcalloc should be preferred to kzalloc with > multiply. > > Signed-off-by: JB Van Puyvelde > --- > drivers/staging/greybus/power_supply.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) You should have kept my Ack

Re: [PATCH] staging: greybus: power_supply: replace kzalloc by kcalloc

2017-05-11 Thread Rui Miguel Silva
Hi JB, Great! thanks for the patch, On Thu, May 11, 2017 at 10:58:56PM +0200, JB Van Puyvelde wrote: According to checkpatch.pl, kcalloc should be preferred to kzalloc with multiply. Signed-off-by: JB Van Puyvelde Reviewed-by: Rui Miguel Silva

Re: [PATCH] staging: greybus: power_supply: replace kzalloc by kcalloc

2017-05-11 Thread Rui Miguel Silva
Hi JB, Great! thanks for the patch, On Thu, May 11, 2017 at 10:58:56PM +0200, JB Van Puyvelde wrote: According to checkpatch.pl, kcalloc should be preferred to kzalloc with multiply. Signed-off-by: JB Van Puyvelde Reviewed-by: Rui Miguel Silva Cheers, Rui ---

[PATCH] staging: greybus: power_supply: replace kzalloc by kcalloc

2017-05-11 Thread JB Van Puyvelde
According to checkpatch.pl, kcalloc should be preferred to kzalloc with multiply. Signed-off-by: JB Van Puyvelde --- drivers/staging/greybus/power_supply.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/greybus/power_supply.c

[PATCH] staging: greybus: power_supply: replace kzalloc by kcalloc

2017-05-11 Thread JB Van Puyvelde
According to checkpatch.pl, kcalloc should be preferred to kzalloc with multiply. Signed-off-by: JB Van Puyvelde --- drivers/staging/greybus/power_supply.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/greybus/power_supply.c