mirror of
https://github.com/nxp-imx/linux-imx.git
synced 2025-09-03 10:33:11 +02:00
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 commit7459e1d25f
("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:
parent
0fdaf44bb5
commit
fabf6de666
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue
Block a user