From: Chen Gang Date: Mon, 22 Jul 2013 03:40:38 +0000 (+0100) Subject: arm64: KVM: use 'int' instead of 'u32' for variable 'target' in kvm_host.h. X-Git-Tag: v3.11-rc7~22^2~1^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c8c0c4dc0e98ee2191211d66e9f876e95787073;p=pandora-kernel.git arm64: KVM: use 'int' instead of 'u32' for variable 'target' in kvm_host.h. 'target' will be set to '-1' in kvm_arch_vcpu_init(), and it need check 'target' whether less than zero or not in kvm_vcpu_initialized(). So need define target as 'int' instead of 'u32', just like ARM has done. The related warning: arch/arm64/kvm/../../../arch/arm/kvm/arm.c:497:2: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits] Signed-off-by: Chen Gang [Marc: reformated the Subject line to fit the series] Signed-off-by: Marc Zyngier --- Reading git-diff-tree failed