Re: [PATCH] crypto: algboss: remove NULL check in cryptomgr_schedule_probe()

From: Herbert Xu
Date: Thu Mar 28 2024 - 06:22:26 EST


On Wed, Mar 06, 2024 at 10:29:08AM +0300, Roman Smirnov wrote:
> The variable i will never be zero, so the check can be removed.
>
> Found by Linux Verification Center (linuxtesting.org) with Svace.

Are you sure about this? It does not seem obvious that i cannot
be zero. If the tool is correct you need to provide the reasoning
for it.

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