LF-1602 crypto: caam - fix signals handling in sm_store

Replace wait_for_completion_interruptible() with wait_for_completion()
for the same reasons we did this throughout the other drivers, see
commit 7459e1d25f ("crypto: caam - fix signals handling")

Addresses-Coverity: ("Unchecked return value")
Fixes: e0f7d41a2e ("MLKU-25-3 crypto: caam - add Secure Memory support")
Signed-off-by: Horia Geantă <horia.geanta@nxp.com>
Reviewed-by: Iuliana Prodan <iuliana.prodan@nxp.com>
This commit is contained in:
Horia Geantă 2020-06-19 16:11:32 +03:00 committed by Xiaobo Xie
parent 0fdaf44bb5
commit fabf6de666

View File

@ -448,7 +448,7 @@ static int sm_key_job(struct device *ksdev, u32 *jobdesc)
if (rtn)
goto exit;
wait_for_completion_interruptible(&testres.completion);
wait_for_completion(&testres.completion);
rtn = testres.error;
exit: