From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51542) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vsubc-0005mW-7S for qemu-devel@nongnu.org; Tue, 17 Dec 2013 08:22:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VsubT-00051i-Mu for qemu-devel@nongnu.org; Tue, 17 Dec 2013 08:22:36 -0500 Received: from e06smtp16.uk.ibm.com ([195.75.94.112]:52020) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VsubT-00051K-DF for qemu-devel@nongnu.org; Tue, 17 Dec 2013 08:22:27 -0500 Received: from /spool/local by e06smtp16.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 17 Dec 2013 13:22:26 -0000 Received: from b06cxnps4076.portsmouth.uk.ibm.com (d06relay13.portsmouth.uk.ibm.com [9.149.109.198]) by d06dlp01.portsmouth.uk.ibm.com (Postfix) with ESMTP id EE08217D8063 for ; Tue, 17 Dec 2013 13:22:20 +0000 (GMT) Received: from d06av06.portsmouth.uk.ibm.com (d06av06.portsmouth.uk.ibm.com [9.149.37.217]) by b06cxnps4076.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id rBHDMA3D64422006 for ; Tue, 17 Dec 2013 13:22:10 GMT Received: from d06av06.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av06.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id rBHDMMkl014933 for ; Tue, 17 Dec 2013 06:22:22 -0700 From: Jens Freimann Date: Tue, 17 Dec 2013 14:22:06 +0100 Message-Id: <1387286530-31516-5-git-send-email-jfrei@linux.vnet.ibm.com> In-Reply-To: <1387286530-31516-1-git-send-email-jfrei@linux.vnet.ibm.com> References: <1387286530-31516-1-git-send-email-jfrei@linux.vnet.ibm.com> Subject: [Qemu-devel] [PATCH 4/8] s390x/kvm: Fix coding style in handle_sigp() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Christian Borntraeger , Alexander Graf Cc: Jens Freimann , qemu-devel@nongnu.org, Thomas Huth From: Thomas Huth To make scripts/checkpatch.pl happy for the following patches, the coding style in handle_sigp() has to be fixed first. Signed-off-by: Thomas Huth Acked-by: Cornelia Huck Signed-off-by: Jens Freimann --- target-s390x/kvm.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/target-s390x/kvm.c b/target-s390x/kvm.c index 5b243b4..8c54134 100644 --- a/target-s390x/kvm.c +++ b/target-s390x/kvm.c @@ -642,18 +642,18 @@ static int handle_sigp(S390CPU *cpu, struct kvm_run *run, uint8_t ipa1) } switch (order_code) { - case SIGP_RESTART: - r = kvm_s390_cpu_restart(target_cpu); - break; - case SIGP_SET_ARCH: - /* make the caller panic */ - return -1; - case SIGP_INITIAL_CPU_RESET: - r = s390_cpu_initial_reset(target_cpu); - break; - default: - fprintf(stderr, "KVM: unknown SIGP: 0x%x\n", order_code); - break; + case SIGP_RESTART: + r = kvm_s390_cpu_restart(target_cpu); + break; + case SIGP_SET_ARCH: + /* make the caller panic */ + return -1; + case SIGP_INITIAL_CPU_RESET: + r = s390_cpu_initial_reset(target_cpu); + break; + default: + fprintf(stderr, "KVM: unknown SIGP: 0x%x\n", order_code); + break; } out: -- 1.8.3.4