KVM: ARM: Squash len warning
authorChristoffer Dall <christoffer.dall@linaro.org>
Tue, 30 Jul 2013 03:46:04 +0000 (20:46 -0700)
committerChristoffer Dall <christoffer.dall@linaro.org>
Thu, 2 Oct 2014 15:18:00 +0000 (17:18 +0200)
commit54118be422ac3ff0af613676d47f8d46cc9f8801
tree7d511e3c3942be3e0b3161b362034f89adb4a532
parentfbcac5446f1c5be6e54e282e1dbed74c58671a72
KVM: ARM: Squash len warning

The 'len' variable was declared an unsigned and then checked for less
than 0, which results in warnings on some compilers.  Since len is
assigned an int, make it an int.

Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
(cherry picked from commit 2184a60de26b94bc5a88de3e5a960ef9ff54ba5a)
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
arch/arm/kvm/mmio.c