]> git.proxmox.com Git - qemu.git/commitdiff
s390x/kvm: Fix switch/case indentation for handle_diag
authorChristian Borntraeger <borntraeger@de.ibm.com>
Fri, 30 Aug 2013 09:06:56 +0000 (11:06 +0200)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Fri, 30 Aug 2013 09:09:13 +0000 (11:09 +0200)
This alignes case statements to switch statements in the handle_diag
function as mandated by coding style.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
target-s390x/kvm.c

index 26d18e3bcfb8be81c7c80bf668e98daabb1e28e8..ed80154e0dce835bf96eec2710e648f690fbdeb0 100644 (file)
@@ -583,16 +583,16 @@ static int handle_diag(S390CPU *cpu, struct kvm_run *run, int ipb_code)
     int r = 0;
 
     switch (ipb_code) {
-        case DIAG_KVM_HYPERCALL:
-            r = handle_hypercall(cpu, run);
-            break;
-        case DIAG_KVM_BREAKPOINT:
-            sleep(10);
-            break;
-        default:
-            DPRINTF("KVM: unknown DIAG: 0x%x\n", ipb_code);
-            r = -1;
-            break;
+    case DIAG_KVM_HYPERCALL:
+        r = handle_hypercall(cpu, run);
+        break;
+    case DIAG_KVM_BREAKPOINT:
+        sleep(10);
+        break;
+    default:
+        DPRINTF("KVM: unknown DIAG: 0x%x\n", ipb_code);
+        r = -1;
+        break;
     }
 
     return r;