projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81e397d
)
crypto: mxs-dcp - fix type of ret for wait_for_completion_timeout
author
Nicholas Mc Guire
<hofrat@osadl.org>
Sat, 7 Feb 2015 08:09:41 +0000
(
03:09
-0500)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Sat, 28 Feb 2015 10:31:36 +0000
(23:31 +1300)
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>
drivers/crypto/mxs-dcp.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/crypto/mxs-dcp.c
b/drivers/crypto/mxs-dcp.c
index 829d6394fb3334cded7c4d5a9f4c4b7d5b5c26d0..59ed54e464a96ed6af707f8bb2617b2314976e0b 100644
(file)
--- 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),