summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/mxs-dcp.c
diff options
context:
space:
mode:
authorNicholas Mc Guire2015-02-07 09:09:41 +0100
committerHerbert Xu2015-02-28 11:31:36 +0100
commitdd0fff8db627e08272af98d9480ae8d892d8f440 (patch)
tree1a4f5a5d44dbb6695d592d040abededa4c4b15b9 /drivers/crypto/mxs-dcp.c
parentcrypto: aesni - make driver-gcm-aes-aesni helper a proper aead alg (diff)
downloadkernel-qcow2-linux-dd0fff8db627e08272af98d9480ae8d892d8f440.tar.gz
kernel-qcow2-linux-dd0fff8db627e08272af98d9480ae8d892d8f440.tar.xz
kernel-qcow2-linux-dd0fff8db627e08272af98d9480ae8d892d8f440.zip
crypto: mxs-dcp - fix type of ret for wait_for_completion_timeout
return type of wait_for_completion_timeout is unsigned long not int, this patch changes the type of ret from int to unsigned long. Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/mxs-dcp.c')
-rw-r--r--drivers/crypto/mxs-dcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/mxs-dcp.c b/drivers/crypto/mxs-dcp.c
index 829d6394fb33..59ed54e464a9 100644
--- a/drivers/crypto/mxs-dcp.c
+++ b/drivers/crypto/mxs-dcp.c
@@ -153,7 +153,7 @@ static int mxs_dcp_start_dma(struct dcp_async_ctx *actx)
struct dcp *sdcp = global_sdcp;
const int chan = actx->chan;
uint32_t stat;
- int ret;
+ unsigned long ret;
struct dcp_dma_desc *desc = &sdcp->coh->desc[actx->chan];
dma_addr_t desc_phys = dma_map_single(sdcp->dev, desc, sizeof(*desc),