]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: sun4i-ss - Fix 64-bit size_t warnings
authorHerbert Xu <herbert@gondor.apana.org.au>
Tue, 12 Nov 2019 02:38:34 +0000 (10:38 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 22 Nov 2019 10:48:34 +0000 (18:48 +0800)
commita08a6ac71626061b27f26bd3a871a19d82616fea
treee0bb2d815b4a740d265476757b58c4af4b5cba19
parent8460f7ee482d9efdb8424d5c280244d9d72707e1
crypto: sun4i-ss - Fix 64-bit size_t warnings

If you try to compile this driver on a 64-bit platform then you
will get warnings because it mixes size_t with unsigned int which
only works on 32-bit.

This patch fixes all of the warnings.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Acked-by: Corentin Labbe <clabbe.montjoie@gmail.com>
Tested-by: Corentin Labbe <clabbe.montjoie@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/allwinner/sun4i-ss/sun4i-ss-cipher.c