> Opendir() returns allocated storage which must be freed at the
> end of function or in case any return on error. so freeing the
> allocation using closedir in an error case.
> 
> Coverity issue: 323507
> Coverity issue: 325880
> Fixes: e7a45f3cc245 ("crypto/caam_jr: add UIO specific operations")
> Cc: g.si...@nxp.com
> 
> Signed-off-by: Gagandeep Singh <g.si...@nxp.com>
> ---
>  drivers/crypto/caam_jr/caam_jr_uio.c | 10 +++++++---
>  1 file changed, 7 insertions(+), 3 deletions(-)


Acked-by: Akhil Goyal <akhil.go...@nxp.com>

Reply via email to