]> xenbits.xensource.com Git - people/royger/xen.git/commitdiff
x86/svm: Fix indentation in svm_vmcb_restore()
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 7 Apr 2017 15:38:12 +0000 (16:38 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 7 Apr 2017 16:23:11 +0000 (17:23 +0100)
Inroduced by c/s b706e1c6af274, spotted by Coverity.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/hvm/svm/svm.c

index a088fd7f8819335215b1a45ea88fc2f2e83afa16..1f8aca6cd94acb8af6125e78523f2f62a4f5f9fb 100644 (file)
@@ -271,8 +271,8 @@ static int svm_vmcb_restore(struct vcpu *v, struct hvm_hw_cpu *c)
 
     if ( c->pending_valid )
     {
-       if ( (c->pending_type == 1) || (c->pending_type > 6) ||
-            (c->pending_reserved != 0) )
+        if ( (c->pending_type == 1) || (c->pending_type > 6) ||
+             (c->pending_reserved != 0) )
         {
             dprintk(XENLOG_ERR, "%pv: Invalid pending event %#"PRIx32"\n",
                     v, c->pending_event);