]> git.ipfire.org Git - thirdparty/linux.git/commit
crypto: drbg - make drbg_{ctr_bcc,kcapi_sym}() return *void*
authorKarina Yankevich <k.yankevich@omp.ru>
Wed, 24 Sep 2025 21:00:10 +0000 (00:00 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 17 Oct 2025 08:10:27 +0000 (16:10 +0800)
commit1617d93c12f13b3bdefe5459bc6a91f2ad48e256
treec8c0e26114dea64be140207a7328e17181684f7b
parent96feb73def02d175850daa0e7c2c90c876681b5c
crypto: drbg - make drbg_{ctr_bcc,kcapi_sym}() return *void*

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.

[Sergey: fixed the subject, refreshed the patch]

Signed-off-by: Karina Yankevich <k.yankevich@omp.ru>
Signed-off-by: Sergey Shtylyov <s.shtylyov@omp.ru>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/df_sp80090a.c