[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YqMMEsIDhqKcZmhr@gondor.apana.org.au>
Date: Fri, 10 Jun 2022 17:17:06 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Peng Wu <wupeng58@...wei.com>
Cc: clabbe.montjoie@...il.com, davem@...emloft.net,
jernej.skrabec@...il.com, samuel@...lland.org,
linux-crypto@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-sunxi@...ts.linux.dev, linux-kernel@...r.kernel.org,
liwei391@...wei.com
Subject: Re: [PATCH] crypto: sun8i-ss - fix a NULL vs IS_ERR() check in
sun8i_ss_hashkey
On Thu, Jun 02, 2022 at 07:22:34AM +0000, Peng Wu wrote:
> The crypto_alloc_shash() function never returns NULL. It returns error
> pointers.
>
> Fixes: 801b7d572c0a ("crypto: sun8i-ss - add hmac(sha1)")
> Signed-off-by: Peng Wu <wupeng58@...wei.com>
> Reported-by: Hulk Robot <hulkci@...wei.com>
> ---
> drivers/crypto/allwinner/sun8i-ss/sun8i-ss-hash.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