Re: [PATCH v4 1/2] crypto: talitos - reorder code in talitos_edesc_alloc()

From: Herbert Xu
Date: Thu Jan 10 2019 - 09:06:07 EST


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 <christophe.leroy@xxxxxx>
> ---
> new in v4
>
> drivers/crypto/talitos.c | 25 +++++++------------------
> 1 file changed, 7 insertions(+), 18 deletions(-)

All applied. Thanks.
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt