mirror of
https://github.com/hardkernel/linux.git
synced 2026-03-25 20:10:23 +09:00
[ Upstream commitb013603840] Fix to return a negative error code from the error handling case instead of 0, as done elsewhere in this function. Fixes:8a63b1994c("crypto: ux500 - Add driver for HASH hardware") Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: Sasha Levin <sashal@kernel.org>