]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
committerKhalid Elmously <khalid.elmously@canonical.com>
Wed, 29 Jan 2020 04:45:21 +0000 (23:45 -0500)
commit97d543837a5510c2e0efcf6cb0b6261537f1a84c
tree122de7aaa1a3d77776762a010273b273c73c5e32
parent7fb0b15249d5ecacf9925af4ea345eb585cc84ce
crypto: sun4i-ss - Fix 64-bit size_t warnings

BugLink: https://bugs.launchpad.net/bugs/1859712
[ 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>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/crypto/sunxi-ss/sun4i-ss-cipher.c