]> 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)
commite9e0c01fe3ddff3498389f04e83b624c9fe9b6e7
tree3434dc43f136fb5d6295c550fd6f7a076b3979be
parentb22ad1c80d9173614f4f56dcd291889d5bf70e1a
KVM: x86: remove data variable from kvm_get_msr_common

Commit 858838b5db46 ("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: 858838b5db46 ("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