Re: [PATCH v2 14/14] crypto: caam - change return value in case CAAM has no MDHA

From: Horia Geanta
Date: Fri Jul 19 2019 - 12:26:12 EST


On 7/19/2019 2:58 AM, Iuliana Prodan wrote:
> To be consistent with other CAAM modules, caamhash should return 0
> instead of -ENODEV in case CAAM has no MDHA.
>
> Based on commit 1b46c90c8e00 ("crypto: caam - convert top level drivers to libraries")
> the value returned by entry point is never checked and
> the exit point is always executed.
>
> Signed-off-by: Iuliana Prodan <iuliana.prodan@xxxxxxx>
Reviewed-by: Horia Geantă <horia.geanta@xxxxxxx>

Horia