We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2b537b commit a712bffCopy full SHA for a712bff
drivers/crypto/img-hash.c
@@ -308,7 +308,7 @@ static void img_hash_finish_req(struct ahash_request *req, int err)
308
DRIVER_FLAGS_CPU | DRIVER_FLAGS_BUSY | DRIVER_FLAGS_FINAL);
309
310
if (req->base.complete)
311
- req->base.complete(&req->base, err);
+ ahash_request_complete(req, err);
312
}
313
314
static int img_hash_write_via_dma(struct img_hash_dev *hdev)
@@ -526,7 +526,7 @@ static int img_hash_handle_queue(struct img_hash_dev *hdev,
526
return res;
527
528
if (backlog)
529
- backlog->complete(backlog, -EINPROGRESS);
+ crypto_request_complete(backlog, -EINPROGRESS);
530
531
req = ahash_request_cast(async_req);
532
hdev->req = req;
0 commit comments