]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
crypto: sun4i-ss - Fix 64-bit size_t warnings on sun4i-ss-hash.c
authorCorentin Labbe <clabbe.montjoie@gmail.com>
Thu, 14 Nov 2019 10:49:06 +0000 (11:49 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 4 Jan 2020 12:40:06 +0000 (13:40 +0100)
commitab4180b2ac29d36de1f130d7d76d93bfc01259de
tree31cda96e12dbb0d7debbca8fe7e033aaf7e051eb
parent0ef977d81fff020503c6fdd4f1e639f798a9e219
crypto: sun4i-ss - Fix 64-bit size_t warnings on sun4i-ss-hash.c

[ Upstream commit a7126603d46fe8f01aeedf589e071c6aaa6c6c39 ]

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 on sun4i-ss-hash.c.
Signed-off-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-hash.c