Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 19355475 authored by Amit Shah's avatar Amit Shah Committed by Avi Kivity
Browse files

KVM: x86: Fix typos and whitespace errors



Some typos, comments, whitespace errors corrected in the cpuid code

Signed-off-by: default avatarAmit Shah <amit.shah@redhat.com>
Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
parent 9aa4dd5e
Loading
Loading
Loading
Loading
+16 −17
Original line number Diff line number Diff line
@@ -1249,7 +1249,7 @@ static void do_cpuid_ent(struct kvm_cpuid_entry2 *entry, u32 function,
		bit(X86_FEATURE_LAHF_LM) | bit(X86_FEATURE_CMP_LEGACY) |
		bit(X86_FEATURE_SVM);

	/* all func 2 cpuid_count() should be called on the same cpu */
	/* all calls to cpuid_count() should be made on the same cpu */
	get_cpu();
	do_cpuid_1_ent(entry, function, index);
	++*nent;
@@ -2892,7 +2892,6 @@ struct kvm_cpuid_entry2 *kvm_find_cpuid_entry(struct kvm_vcpu *vcpu,
			if (!best || e->function > best->function)
				best = e;
	}

	return best;
}