diff options
author | Chen Gang <gang.chen@asianux.com> | 2013-07-22 05:40:38 +0200 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2013-08-09 14:42:43 +0200 |
commit | 6c8c0c4dc0e98ee2191211d66e9f876e95787073 (patch) | |
tree | e3b1ab68c05208d6586adeab5d3ccd4893daf7cf /arch/arm/boot/dts/s3c24xx.dtsi | |
parent | arm64: KVM: add missing dsb before invalidating Stage-2 TLBs (diff) | |
download | linux-6c8c0c4dc0e98ee2191211d66e9f876e95787073.tar.xz linux-6c8c0c4dc0e98ee2191211d66e9f876e95787073.zip |
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 <gang.chen@asianux.com>
[Marc: reformated the Subject line to fit the series]
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'arch/arm/boot/dts/s3c24xx.dtsi')
0 files changed, 0 insertions, 0 deletions