From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mohammed Gamal Subject: [PATCH] kvm: testsuite: Fix coding style in real mode test harness Date: Mon, 1 Sep 2008 19:02:16 +0300 Message-ID: <20080901160216.GA7946@mohd-laptop> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: avi@qumranet.com, riel@surriel.com To: kvm@vger.kernel.org Return-path: Received: from ey-out-2122.google.com ([74.125.78.27]:50047 "EHLO ey-out-2122.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750722AbYIAQCX (ORCPT ); Mon, 1 Sep 2008 12:02:23 -0400 Received: by ey-out-2122.google.com with SMTP id 6so945279eyi.37 for ; Mon, 01 Sep 2008 09:02:21 -0700 (PDT) Content-Disposition: inline Sender: kvm-owner@vger.kernel.org List-ID: Fix coding style in test_eflags_insn() in real mode test harness. Signed-off-by: Mohammed Gamal --- user/test/x86/realmode.c | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/user/test/x86/realmode.c b/user/test/x86/realmode.c index d760a26..4627529 100644 --- a/user/test/x86/realmode.c +++ b/user/test/x86/realmode.c @@ -183,31 +183,31 @@ void test_eflags_insn(struct regs *inregs, struct regs *outregs) exec_in_big_real_mode(inregs, outregs, insn_clc, insn_clc_end - insn_clc); - if(outregs->eflags & 1) + if (outregs->eflags & 1) print_serial("clc test: FAIL\n"); exec_in_big_real_mode(inregs, outregs, insn_cli, insn_cli_end - insn_cli); - if(outregs->eflags & (1 << 9)) + if (outregs->eflags & (1 << 9)) print_serial("cli test: FAIL\n"); exec_in_big_real_mode(inregs, outregs, insn_sti, insn_sti_end - insn_sti); - if(!(outregs->eflags & (1 << 9))) + if (!(outregs->eflags & (1 << 9))) print_serial("sti test: FAIL\n"); exec_in_big_real_mode(inregs, outregs, insn_cld, insn_cld_end - insn_cld); - if(outregs->eflags & (1 << 10)) + if (outregs->eflags & (1 << 10)) print_serial("cld test: FAIL\n"); exec_in_big_real_mode(inregs, outregs, insn_std, insn_std_end - insn_std); - if(!(outregs->eflags & (1 << 10))) + if (!(outregs->eflags & (1 << 10))) print_serial("std test: FAIL\n"); } -- 1.5.4.3