Re: [PATCH 02/31] crypto_pool: Add crypto_pool_reserve_scratch()

From: Dmitry Safonov
Date: Fri Aug 26 2022 - 10:42:26 EST


Hi Dan,

On 8/22/22 11:45, Dan Carpenter wrote:
> Hi Dmitry,
[..]
> "err" not set. It was supposed to be set to zero at the start. But
> better to say "ret = i;" here maybe?
>
> Why is i unsigned? It leads to unsightly casts. Presumably some static
> checker insists on this... :/

Thanks! Will be addressed/reworked in v2.

Thank you,
Dmitry