[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZgVKc/yEhRwaXAn0@gondor.apana.org.au>
Date: Thu, 28 Mar 2024 18:46:11 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Karina Yankevich <k.yankevich@....ru>
Cc: "David S. Miller" <davem@...emloft.net>, s.shtylyov@....ru,
linux-kernel@...r.kernel.org, lvc-project@...uxtesting.org
Subject: Re: [PATCH] crypto: drbg - make drbg_kcapi_{ctr_bcc,kcapi_sym}()
return void
On Tue, Mar 05, 2024 at 09:43:16PM +0300, Karina Yankevich wrote:
> drgb_kcapi_sym() always returns 0, so make it return void instead.
> Consequently, make drbg_ctr_bcc() return void too.
>
> Found by Linux Verification Center (linuxtesting.org) with the Svace static
> analysis tool.
>
> Signed-off-by: Karina Yankevich <k.yankevich@....ru>
> ---
> crypto/drbg.c | 38 ++++++++++++--------------------------
> 1 file changed, 12 insertions(+), 26 deletions(-)
Please resend this to linux-crypto@...r.kernel.org.
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