Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933690AbeALMY2 (ORCPT + 1 other); Fri, 12 Jan 2018 07:24:28 -0500 Received: from [128.1.224.119] ([128.1.224.119]:54464 "EHLO ringil.hmeau.com" rhost-flags-FAIL-FAIL-OK-OK) by vger.kernel.org with ESMTP id S933502AbeALMYZ (ORCPT ); Fri, 12 Jan 2018 07:24:25 -0500 Date: Fri, 12 Jan 2018 23:23:07 +1100 From: Herbert Xu To: Himanshu Jha Cc: davem@davemloft.net, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] crypto: Use zeroing memory allocator instead of allocator/memset Message-ID: <20180112122307.GA21636@gondor.apana.org.au> References: <1514723063-5614-1-git-send-email-himanshujha199640@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1514723063-5614-1-git-send-email-himanshujha199640@gmail.com> 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 Return-Path: On Sun, Dec 31, 2017 at 05:54:23PM +0530, Himanshu Jha wrote: > Use dma_zalloc_coherent for allocating zeroed > memory and remove unnecessary memset function. > > Done using Coccinelle. > Generated-by: scripts/coccinelle/api/alloc/kzalloc-simple.cocci > 0-day tested with no failures. > > Signed-off-by: Himanshu Jha Patch applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt