summaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/hyperv.c
diff options
context:
space:
mode:
authoraalexandrovich <88376726+aalexandrovich@users.noreply.github.com>2021-08-23 15:44:22 +0200
committerGitHub <noreply@github.com>2021-08-23 15:44:22 +0200
commit11e4e66efd440216032f53ee7e5ca08cd263a292 (patch)
tree630237ec37435734f29cc4ea2c91a75813d61053 /arch/x86/kvm/hyperv.c
parentfs/ntfs3: Add MAINTAINERS (diff)
parentLinux 5.14-rc7 (diff)
downloadlinux-11e4e66efd440216032f53ee7e5ca08cd263a292.tar.xz
linux-11e4e66efd440216032f53ee7e5ca08cd263a292.zip
Merge branch 'torvalds:master' into master
Diffstat (limited to 'arch/x86/kvm/hyperv.c')
-rw-r--r--arch/x86/kvm/hyperv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/hyperv.c b/arch/x86/kvm/hyperv.c
index 0b38f944c6b6..41d2a53c5dea 100644
--- a/arch/x86/kvm/hyperv.c
+++ b/arch/x86/kvm/hyperv.c
@@ -1933,7 +1933,7 @@ ret_success:
void kvm_hv_set_cpuid(struct kvm_vcpu *vcpu)
{
struct kvm_cpuid_entry2 *entry;
- struct kvm_vcpu_hv *hv_vcpu = to_hv_vcpu(vcpu);
+ struct kvm_vcpu_hv *hv_vcpu;
entry = kvm_find_cpuid_entry(vcpu, HYPERV_CPUID_INTERFACE, 0);
if (entry && entry->eax == HYPERV_CPUID_SIGNATURE_EAX) {