From: Mathias Krause Date: Wed, 26 Jun 2013 18:36:21 +0000 (+0200) Subject: KVM: VMX: Use proper types to access const arrays X-Git-Tag: v3.12-rc1~143^2~62 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c2bae8939487c101b0516c4c8ad80f543b22bb29;p=pandora-kernel.git KVM: VMX: Use proper types to access const arrays Use a const pointer type instead of casting away the const qualifier from const arrays. Keep the pointer array on the stack, nonetheless. Making it static just increases the object size. Signed-off-by: Mathias Krause Reviewed-by: Paolo Bonzini Signed-off-by: Gleb Natapov --- Reading git-diff-tree failed