Re: [PATCH] cris: arch-v32: gpio: Use kzalloc instead of kmalloc/memset
From: Jesper Nilsson
Date: Mon May 11 2015 - 07:21:50 EST
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 <christophe.jaillet@xxxxxxxxxx>
/^JN - Jesper Nilsson
--
Jesper Nilsson -- jesper.nilsson@xxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/