[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200821075543.GD25143@gondor.apana.org.au>
Date: Fri, 21 Aug 2020 17:55:43 +1000
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Tianjia Zhang <tianjia.zhang@...ux.alibaba.com>
Cc: davem@...emloft.net, matthias.bgg@...il.com, swboyd@...omium.org,
yuehaibing@...wei.com, ryder.lee@...iatek.com,
linux-crypto@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-mediatek@...ts.infradead.org, linux-kernel@...r.kernel.org,
tianjia.zhang@...baba.com
Subject: Re: [PATCH] crypto: mediatek - Fix wrong return value in
mtk_desc_ring_alloc()
On Sun, Aug 02, 2020 at 07:15:32PM +0800, Tianjia Zhang wrote:
> In case of memory allocation failure, a negative error code should
> be returned.
>
> Fixes: 785e5c616c849 ("crypto: mediatek - Add crypto driver support for some MediaTek chips")
> Cc: Ryder Lee <ryder.lee@...iatek.com>
> Signed-off-by: Tianjia Zhang <tianjia.zhang@...ux.alibaba.com>
> ---
> drivers/crypto/mediatek/mtk-platform.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Patch applied. Thanks.
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Powered by blists - more mailing lists