]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: remove data variable from kvm_get_msr_common
authorNicolas Iooss <nicolas.iooss_linux@m4x.org>
Mon, 29 Jun 2015 10:39:23 +0000 (18:39 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 3 Jul 2015 16:55:19 +0000 (18:55 +0200)
commitba16f39978871359f68eacf5addbfe6a53e32cd9
tree3434dc43f136fb5d6295c550fd6f7a076b3979be
parent125ae4d50739e7526e4bccd3be2521f2cf2ef31e
KVM: x86: remove data variable from kvm_get_msr_common

Commit cac4ba2a2fb8 ("KVM: x86: pass host_initiated to functions that
read MSRs") modified kvm_get_msr_common function to use msr_info->data
instead of data but missed one occurrence.  Replace it and remove the
unused local variable.

Fixes: cac4ba2a2fb8 ("KVM: x86: pass host_initiated to functions that
read MSRs")
Signed-off-by: Nicolas Iooss <nicolas.iooss_linux@m4x.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/x86.c