From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53606) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VFOSU-0007w0-3N for qemu-devel@nongnu.org; Fri, 30 Aug 2013 09:09:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VFOSL-000505-01 for qemu-devel@nongnu.org; Fri, 30 Aug 2013 09:09:50 -0400 Received: from e06smtp14.uk.ibm.com ([195.75.94.110]:44027) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VFO0q-0004YM-Ri for qemu-devel@nongnu.org; Fri, 30 Aug 2013 08:41:17 -0400 Received: from /spool/local by e06smtp14.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 30 Aug 2013 13:31:21 +0100 Received: from b06cxnps3074.portsmouth.uk.ibm.com (d06relay09.portsmouth.uk.ibm.com [9.149.109.194]) by d06dlp01.portsmouth.uk.ibm.com (Postfix) with ESMTP id C5F3917D8057 for ; Fri, 30 Aug 2013 13:41:13 +0100 (BST) Received: from d06av04.portsmouth.uk.ibm.com (d06av04.portsmouth.uk.ibm.com [9.149.37.216]) by b06cxnps3074.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id r7UCf1b246203122 for ; Fri, 30 Aug 2013 12:41:01 GMT Received: from d06av04.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av04.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id r7UCfBZW024793 for ; Fri, 30 Aug 2013 06:41:12 -0600 From: Christian Borntraeger Date: Fri, 30 Aug 2013 14:41:27 +0200 Message-Id: <1377866493-47164-2-git-send-email-borntraeger@de.ibm.com> In-Reply-To: <1377866493-47164-1-git-send-email-borntraeger@de.ibm.com> References: <1377866493-47164-1-git-send-email-borntraeger@de.ibm.com> Subject: [Qemu-devel] [PULL 1/7] s390x/kvm: Fix switch/case indentation for handle_diag List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Graf , Anthony Liguori Cc: Cornelia Huck , Christian Borntraeger , Jens Freimann , =?UTF-8?q?Andreas=20F=C3=A4rber?= , qemu-devel This alignes case statements to switch statements in the handle_diag function as mandated by coding style. Signed-off-by: Christian Borntraeger --- target-s390x/kvm.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/target-s390x/kvm.c b/target-s390x/kvm.c index 26d18e3..ed80154 100644 --- a/target-s390x/kvm.c +++ b/target-s390x/kvm.c @@ -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; -- 1.8.3.1