Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Nicholas Mc Guire and committed by
Herbert Xu
dd0fff8d 81e397d9

+1 -1
+1 -1
drivers/crypto/mxs-dcp.c
··· 153 153 struct dcp *sdcp = global_sdcp; 154 154 const int chan = actx->chan; 155 155 uint32_t stat; 156 - int ret; 156 + unsigned long ret; 157 157 struct dcp_dma_desc *desc = &sdcp->coh->desc[actx->chan]; 158 158 159 159 dma_addr_t desc_phys = dma_map_single(sdcp->dev, desc, sizeof(*desc),