From: Will Deacon Date: Tue, 26 Aug 2014 14:13:20 +0000 (+0100) Subject: KVM: ARM/arm64: fix non-const declaration of function returning const X-Git-Tag: fixes-for-v3.18-merge-window~23^2~3^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6951e48bff0b55d2a8e825a953fc1f8e3a34bf1c;p=pandora-kernel.git 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 Cc: Marc Zyngier Signed-off-by: Will Deacon Signed-off-by: Christoffer Dall --- Reading git-diff-tree failed