linux/arch/arm/include
Will Deacon 3593b221a8 KVM: ARM/arm64: fix non-const declaration of function returning const
commit 6951e48bff upstream.

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>
Signed-off-by: Shannon Zhao <shannon.zhao@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2015-06-29 12:25:38 -07:00
..
asm KVM: ARM/arm64: fix non-const declaration of function returning const 2015-06-29 12:25:38 -07:00
debug i.MX SoC changes for 3.14: 2014-01-02 12:10:12 -08:00
uapi/asm ARM: 8097/1: unistd.h: relocate comments back to place 2014-09-05 16:34:13 -07:00