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

Commit e9196ceb authored by Dan Carpenter's avatar Dan Carpenter Committed by Paolo Bonzini
Browse files

KVM: Tidy the whitespace in nested_svm_check_permissions()



I moved the || to the line before.  Also I replaced some spaces with a
tab on the "return 0;" line.  It looks OK in the diff but originally
that line was only indented 7 spaces.

Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Acked-by: default avatarJoerg Roedel <jroedel@suse.de>
Signed-off-by: default avatarRadim Krčmář <rkrcmar@redhat.com>
parent 47a66eed
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -2369,8 +2369,8 @@ static void nested_svm_uninit_mmu_context(struct kvm_vcpu *vcpu)

static int nested_svm_check_permissions(struct vcpu_svm *svm)
{
	if (!(svm->vcpu.arch.efer & EFER_SVME)
	    || !is_paging(&svm->vcpu)) {
	if (!(svm->vcpu.arch.efer & EFER_SVME) ||
	    !is_paging(&svm->vcpu)) {
		kvm_queue_exception(&svm->vcpu, UD_VECTOR);
		return 1;
	}