Re: [PATCH 1/1] crypto: ux500 - Fix error return code in hash_hw_final()
From: Linus Walleij
Date: Sat May 08 2021 - 20:34:36 EST
On Sat, May 8, 2021 at 9:01 AM Zhen Lei <thunder.leizhen@xxxxxxxxxx> wrote:
> Fix to return a negative error code from the error handling
> case instead of 0, as done elsewhere in this function.
>
> Fixes: 8a63b1994c50 ("crypto: ux500 - Add driver for HASH hardware")
> Reported-by: Hulk Robot <hulkci@xxxxxxxxxx>
> Signed-off-by: Zhen Lei <thunder.leizhen@xxxxxxxxxx>
Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>
Yours,
Linus Walleij