diff options
author | 2014-08-26 15:13:20 +0100 | |
---|---|---|
committer | 2014-08-27 22:49:45 +0200 | |
commit | 6951e48bff0b55d2a8e825a953fc1f8e3a34bf1c (patch) | |
tree | 52bff7cb7ce4113fa4d718aed60b302e5e9ab6a3 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | arm/arm64: KVM: Support KVM_CAP_READONLY_MEM (diff) | |
download | linux-dev-6951e48bff0b55d2a8e825a953fc1f8e3a34bf1c.tar.xz linux-dev-6951e48bff0b55d2a8e825a953fc1f8e3a34bf1c.zip |
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 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions