@@ -499,7 +499,7 @@ static void s5p_sg_done(struct s5p_aes_dev *dev)
499
499
/* Calls the completion. Cannot be called with dev->lock hold. */
500
500
static void s5p_aes_complete (struct skcipher_request * req , int err )
501
501
{
502
- req -> base . complete ( & req -> base , err );
502
+ skcipher_request_complete ( req , err );
503
503
}
504
504
505
505
static void s5p_unset_outdata (struct s5p_aes_dev * dev )
@@ -1355,7 +1355,7 @@ static void s5p_hash_finish_req(struct ahash_request *req, int err)
1355
1355
spin_unlock_irqrestore (& dd -> hash_lock , flags );
1356
1356
1357
1357
if (req -> base .complete )
1358
- req -> base . complete ( & req -> base , err );
1358
+ ahash_request_complete ( req , err );
1359
1359
}
1360
1360
1361
1361
/**
@@ -1397,7 +1397,7 @@ static int s5p_hash_handle_queue(struct s5p_aes_dev *dd,
1397
1397
return ret ;
1398
1398
1399
1399
if (backlog )
1400
- backlog -> complete (backlog , - EINPROGRESS );
1400
+ crypto_request_complete (backlog , - EINPROGRESS );
1401
1401
1402
1402
req = ahash_request_cast (async_req );
1403
1403
dd -> hash_req = req ;
@@ -1991,7 +1991,7 @@ static void s5p_tasklet_cb(unsigned long data)
1991
1991
spin_unlock_irqrestore (& dev -> lock , flags );
1992
1992
1993
1993
if (backlog )
1994
- backlog -> complete (backlog , - EINPROGRESS );
1994
+ crypto_request_complete (backlog , - EINPROGRESS );
1995
1995
1996
1996
dev -> req = skcipher_request_cast (async_req );
1997
1997
dev -> ctx = crypto_tfm_ctx (dev -> req -> base .tfm );
0 commit comments