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

From: Corentin Labbe
Date: Mon Jun 06 2022 - 14:53:27 EST


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 <hulkci@xxxxxxxxxx>
> Signed-off-by: Yang Yingliang <yangyingliang@xxxxxxxxxx>
> ---

Hello

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

Regards