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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 31 Dec 2019 15:45:43 +0000 (16:45 +0100)
commite4f65f5ea7f4f7100fe8174ea91c4030fe4adff0
tree64fdce5cb62381394be1f7cd21552738938008bc
parent6549e9ccf3442b17e061960c0ca83a7d3d9d8fd0
crypto: sun4i-ss - Fix 64-bit size_t warnings

[ Upstream commit d6e9da21ee8246b5e556b3b153401ab045adb986 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/crypto/sunxi-ss/sun4i-ss-cipher.c