[PATCH] cris: arch-v32: gpio: Use kzalloc instead of kmalloc/memset

2015-07-06 Thread Christophe JAILLET
Turn a kmalloc/memset into an equivalent kzalloc. Doing so also move the zero'ing of the memory outside of a mutex. Signed-off-by: Christophe Jaillet --- A simililar patch has already been applied against arch/cris/arch-v32/drivers/mach-fs/gpio.c --- arch/cris/arch-v32/drivers/mach-a3/gpio.c | 3

Re: [PATCH] cris: arch-v32: gpio: Use kzalloc instead of kmalloc/memset

2015-05-11 Thread Jesper Nilsson
On Fri, May 01, 2015 at 03:58:19PM +0200, Christophe Jaillet wrote: > Turn a kmalloc/memset into an equivalent kzalloc. > Doing so also move the zero'ing of the memory outside of a mutex. Agreed, thanks! > Signed-off-by: Christophe Jaillet /^JN - Jesper Nilsson -- Jesper Nilsson

[PATCH] cris: arch-v32: gpio: Use kzalloc instead of kmalloc/memset

2015-05-01 Thread Christophe Jaillet
Turn a kmalloc/memset into an equivalent kzalloc. Doing so also move the zero'ing of the memory outside of a mutex. Signed-off-by: Christophe Jaillet --- arch/cris/arch-v32/drivers/mach-fs/gpio.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/cris/arch-v32/drivers/mac