diff options
author | Will Deacon <will.deacon@arm.com> | 2014-08-26 15:13:20 +0100 |
---|---|---|
committer | Christoffer Dall <christoffer.dall@linaro.org> | 2014-08-27 22:49:45 +0200 |
commit | 6951e48bff0b55d2a8e825a953fc1f8e3a34bf1c (patch) | |
tree | 52bff7cb7ce4113fa4d718aed60b302e5e9ab6a3 /arch/arm64/kernel/vdso | |
parent | 98047888bb9fd57734028c44ec17413ddd623958 (diff) |
KVM: ARM/arm64: fix non-const declaration of function returning const
Sparse kicks up about a type mismatch for kvm_target_cpu:
arch/arm64/kvm/guest.c:271:25: error: symbol 'kvm_target_cpu' redeclared with different type (originally declared at ./arch/arm64/include/asm/kvm_host.h:45) - different modifiers
so fix this by adding the missing const attribute to the function
declaration.
Cc: Christoffer Dall <christoffer.dall@linaro.org>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Diffstat (limited to 'arch/arm64/kernel/vdso')
0 files changed, 0 insertions, 0 deletions