]> Pileus Git - ~andy/linux/blobdiff - crypto/ahash.c
Merge branch 'for-3.14/core' of git://git.kernel.dk/linux-block
[~andy/linux] / crypto / ahash.c
index 793a27f2493e5287c1275df40feaca7b7b14c87e..a92dc382f7813eb2d8e3c7354e126c1987fedb0d 100644 (file)
@@ -213,7 +213,10 @@ static void ahash_op_unaligned_done(struct crypto_async_request *req, int err)
 
        ahash_op_unaligned_finish(areq, err);
 
-       complete(data, err);
+       areq->base.complete = complete;
+       areq->base.data = data;
+
+       complete(&areq->base, err);
 }
 
 static int ahash_op_unaligned(struct ahash_request *req,