Received: by 2002:a17:90a:37a3:0:0:0:0 with SMTP id v32csp13118519pjb; Fri, 26 Jul 2019 05:36:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqzD9kgS2HHXQQnxZ0XbqoRtHbMCieT6cHNcZRjNrUi1Db2tO24PKnL1KoamBWaBwr8SKlUE X-Received: by 2002:a63:c0d:: with SMTP id b13mr90821781pgl.420.1564144567867; Fri, 26 Jul 2019 05:36:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564144567; cv=none; d=google.com; s=arc-20160816; b=FCvIs4+/DB0RPqQ9kZC1DPkYyWHqxbDuD9MVFlmhiCpDG9ay2CMk17W7MMRhlgGb7Q f9CFd+Iwo4opTXKcuB+q4/fYbBTyq/6r2EuyNgRmM3Fzm5f0qOxLnj1c8o4CdM5ySs4K s0PssVcl2z4z2kBCbgvx4yWaZM9Blsy4+UlEjRutMx7J5EtFwREXNbP2woJ+v5WDcv/x NfrD5YNkrI+NIU/UuvhqAKEdisD4j1RI2Ekv96r/1Owa1n3d+IR654BnUApskw3TFOb5 efBHOw9qpdDfDxZtwLOQJ6Ga8vTx4ckBVu+tAXlyac+xMad+u2WSqG+MQp8I6Y6D9Z7p QgOQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:organization:in-reply-to :content-disposition:mime-version:message-id:subject:illegal-object :cc:to:from:date; bh=TOmHxHptA0nkxTJ6UI3Z0nMfGWEk4Jkz/QwaJOk8htk=; b=07xxGny16XSC+A68ySblxTG0nR5l5vZBm3eqP/ar/xuWnCxWbQFIp1oABUo2w2EaSy 3zTQ5upSuclwbSm5CQKRIOyXboIpEtf5a5ljmfnb+5kYA9vbxCGUfKJtXZEEimpVHtbP Pxg8IQ/XliZtbCwndx/OJnJiJo3Ub1VuMLldnDBHOYkMB3SwHlZBhLaL+6mGRFbX+GaB 58KNcuu/uldqLxc6yURmqd8IyM2Ycyh7IUDr/OM5BO6C+YGElFgntozlxMPgxG7eHeYU 3hCYCBVWq2Lug6nRDeISyiuKA4mS0jfm/SNBimCE5pMyGVlz9caiRbqA8vxGdo9Jjg+K HHiA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m3si20324116pgq.414.2019.07.26.05.35.53; Fri, 26 Jul 2019 05:36:07 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726469AbfGZMf1 (ORCPT + 99 others); Fri, 26 Jul 2019 08:35:27 -0400 Received: from helcar.hmeau.com ([216.24.177.18]:46510 "EHLO fornost.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726130AbfGZMf1 (ORCPT ); Fri, 26 Jul 2019 08:35:27 -0400 Received: from gondolin.me.apana.org.au ([192.168.0.6] helo=gondolin.hengli.com.au) by fornost.hmeau.com with esmtps (Exim 4.89 #2 (Debian)) id 1hqzRS-0003zh-Uo; Fri, 26 Jul 2019 22:35:23 +1000 Received: from herbert by gondolin.hengli.com.au with local (Exim 4.80) (envelope-from ) id 1hqzRS-0002Cn-Gq; Fri, 26 Jul 2019 22:35:22 +1000 Date: Fri, 26 Jul 2019 22:35:22 +1000 From: Herbert Xu To: Chuhong Yuan Cc: unlisted-recipients:; thomas.lendacky@amd.com, gary.hook@amd.com, davem@davemloft.net, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, hslester96@gmail.com Illegal-Object: Syntax error in Cc: address found on vger.kernel.org: Cc: unlisted-recipients:;thomas.lendacky@amd.com ^-missing end of address Subject: Re: [PATCH] crypto: ccp - Replace dma_pool_alloc + memset with dma_pool_zalloc Message-ID: <20190726123522.GA8470@gondor.apana.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190718131609.10974-1-hslester96@gmail.com> Organization: Core X-Newsgroups: apana.lists.os.linux.cryptoapi,apana.lists.os.linux.kernel User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Chuhong Yuan wrote: > Use dma_pool_zalloc instead of using dma_pool_alloc to allocate > memory and then zeroing it with memset 0. > This simplifies the code. > > Signed-off-by: Chuhong Yuan > --- > drivers/crypto/ccp/ccp-ops.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) Patch applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt