]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - arch/x86/crypto/sha-mb/sha1_mb.c
crypto: sha1-mb - use corrcet pointer while completing jobs
[karo-tx-linux.git] / arch / x86 / crypto / sha-mb / sha1_mb.c
index a841e9765bd614b17befbcf647319e2020412d88..8381c09d28706eec94e976fd9a3b76b7b018889d 100644 (file)
@@ -453,10 +453,10 @@ static int sha_complete_job(struct mcryptd_hash_request_ctx *rctx,
 
                        req = cast_mcryptd_ctx_to_req(req_ctx);
                        if (irqs_disabled())
-                               rctx->complete(&req->base, ret);
+                               req_ctx->complete(&req->base, ret);
                        else {
                                local_bh_disable();
-                               rctx->complete(&req->base, ret);
+                               req_ctx->complete(&req->base, ret);
                                local_bh_enable();
                        }
                }