crypto: caam - Cast to long first before pointer conversion
authorHerbert Xu <herbert@gondor.apana.org.au>
Mon, 9 Sep 2019 13:55:29 +0000 (23:55 +1000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 13 Sep 2019 11:20:47 +0000 (21:20 +1000)
commit9575d1a5c0780ea26ff8dd29c94a32be32ce3c85
treee5d05be22c165872c08640abdf99d2350e21952f
parent67caef08a71fa6506fc16be58cd594c49b0605de
crypto: caam - Cast to long first before pointer conversion

While storing an int in a pointer is safe the compiler is not
happy about it.  So we need some extra casting in order to make
this warning free.

Fixes: 1d3f75bce123 ("crypto: caam - dispose of IRQ mapping only...")
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Reviewed-by: Horia Geantă <horia.geanta@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/caam/jr.c