Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754054AbbEKLVq (ORCPT ); Mon, 11 May 2015 07:21:46 -0400 Received: from bastet.se.axis.com ([195.60.68.11]:47493 "EHLO bastet.se.axis.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751692AbbEKLVo (ORCPT ); Mon, 11 May 2015 07:21:44 -0400 Date: Mon, 11 May 2015 13:21:40 +0200 From: Jesper Nilsson To: Christophe Jaillet Cc: Mikael Starvik , Jesper Nilsson , linux-cris-kernel , "linux-kernel@vger.kernel.org" , "kernel-janitors@vger.kernel.org" Subject: Re: [PATCH] cris: arch-v32: gpio: Use kzalloc instead of kmalloc/memset Message-ID: <20150511112140.GY11161@axis.com> References: <1430488699-10878-1-git-send-email-christophe.jaillet@wanadoo.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1430488699-10878-1-git-send-email-christophe.jaillet@wanadoo.fr> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 603 Lines: 16 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/