Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1961400imu; Thu, 10 Jan 2019 06:07:39 -0800 (PST) X-Google-Smtp-Source: ALg8bN5G4qGEcblxSEmKGIMpVNGrZb0E+nCPRbK1FFq1voWnU+AcAV5CMA5xeZ7XTEf4+5O7qnjT X-Received: by 2002:a65:484c:: with SMTP id i12mr9424828pgs.309.1547129259826; Thu, 10 Jan 2019 06:07:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547129259; cv=none; d=google.com; s=arc-20160816; b=wcD7yDVw+DUmwM39u3TfqqFVZm7M7pBc3AdNx77rbwJ0UKDMYhLqWSDVe6gifDmYVb cUCLLoygJkrh+M4LIv3AGaAiCE9QMTPO5JGXI1YHOPcnzvjFNPppBo7z+C/zIfsqin5K G7GY+b97lDoaLkZ9VKv7R0gP57aNUuMn5wUJIbKPAe7kuA+pRew8w5z5L4fc5ADpnzi+ fKqH6NVT4izWnZ7sgyMKWtX5Pwd9IxUSQaPgpVdSX2ioQ7wQpebzdB61b2KLZtRUABEy AIktDd4j4audICe4g/bN97JC0pY6h/+8q8M4f74bi48bmiB4MOiYfcJtVcyXcqnu1V3r sAmQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=tSAoZSrefxdAw+VawsFH0BZr6s9UXR7nBnAb2Xp/N/c=; b=p88sQTuoakE3lRZzNBUWMLchUBGiCaa0ubZtK7O8cEFx5fviQ/cxkFvPgNmkyQGfZx H03cKvpD2IQz0xJPCs9drJ8IFfRMdOtfGtGnf1JG2QS3nrBxnL9z8H8CzqdRYjIc+RAT HXQwoHXJBo/ftMghJ2W+ZGf2Ao883RpCjXL7rZGbCUUc0AjmHpbhQFWUCp7+mFIp5tqw vYVtCb9KBb/Ao3jfChgpVDWkMI0bng+m480vx53bb4QUOagi9pzFGBTDj5bsY5VK++Yh SALMihDDvgoH6r92WX5mPF39KhnzaMRQ9u1ehc54RSjI/azprFq22iqHDqoOwDt82010 4Pbw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 m3si1245349plt.394.2019.01.10.06.07.23; Thu, 10 Jan 2019 06:07:39 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728959AbfAJOGE (ORCPT + 99 others); Thu, 10 Jan 2019 09:06:04 -0500 Received: from orcrist.hmeau.com ([104.223.48.154]:59700 "EHLO deadmen.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728181AbfAJOGE (ORCPT ); Thu, 10 Jan 2019 09:06:04 -0500 Received: from gondobar.mordor.me.apana.org.au ([192.168.128.4] helo=gondobar) by deadmen.hmeau.com with esmtps (Exim 4.89 #2 (Debian)) id 1ghaxz-0002jU-Ax; Thu, 10 Jan 2019 22:05:51 +0800 Received: from herbert by gondobar with local (Exim 4.89) (envelope-from ) id 1ghaxy-0004CV-0a; Thu, 10 Jan 2019 22:05:50 +0800 Date: Thu, 10 Jan 2019 22:05:50 +0800 From: Herbert Xu To: Christophe Leroy Cc: "David S. Miller" , Horia Geanta , linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, stable@vger.kernel.org Subject: Re: [PATCH v4 1/2] crypto: talitos - reorder code in talitos_edesc_alloc() Message-ID: <20190110140549.utyjd4v6v6ropgjn@gondor.apana.org.au> References: <5ed91db5e2976a4c260465c3d027acc9affd2d2b.1545445924.git.christophe.leroy@c-s.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5ed91db5e2976a4c260465c3d027acc9affd2d2b.1545445924.git.christophe.leroy@c-s.fr> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 08, 2019 at 06:56:46AM +0000, Christophe Leroy wrote: > This patch moves the mapping of IV after the kmalloc(). This > avoids having to unmap in case kmalloc() fails. > > Signed-off-by: Christophe Leroy > --- > new in v4 > > drivers/crypto/talitos.c | 25 +++++++------------------ > 1 file changed, 7 insertions(+), 18 deletions(-) All applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt