2022-06-06 20:02:50

by Corentin Labbe

[permalink] [raw]
Subject: Re: [PATCH -next] crypto: sun8i-ss - fix error return code in allocate_flows()

Le Mon, Jun 06, 2022 at 09:48:15PM +0800, Yang Yingliang a ?crit :
> If devm_kmalloc() fails, it should return error code in allocate_flows()
>
> Fixes: 8eec4563f152 ("crypto: sun8i-ss - do not allocate memory when handling hash requests")
> Fixes: 359e893e8af4 ("crypto: sun8i-ss - rework handling of IV")
> Reported-by: Hulk Robot <[email protected]>
> Signed-off-by: Yang Yingliang <[email protected]>
> ---

Hello

I am sorry, but Dan already send the same fix days ago.
https://lore.kernel.org/all/YpIc+FtQIOdm9Ub+@Red/T/

Regards