From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jesper Nilsson Date: Mon, 11 May 2015 11:21:40 +0000 Subject: Re: [PATCH] cris: arch-v32: gpio: Use kzalloc instead of kmalloc/memset Message-Id: <20150511112140.GY11161@axis.com> List-Id: References: <1430488699-10878-1-git-send-email-christophe.jaillet@wanadoo.fr> In-Reply-To: <1430488699-10878-1-git-send-email-christophe.jaillet@wanadoo.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Christophe Jaillet Cc: Mikael Starvik , Jesper Nilsson , linux-cris-kernel , "linux-kernel@vger.kernel.org" , "kernel-janitors@vger.kernel.org" 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 -- jesper.nilsson@axis.com