public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Mohammed Gamal <m.gamal005@gmail.com>
To: kvm@vger.kernel.org
Cc: avi@qumranet.com
Subject: [PATCH][RESEND] kvm: testsuite: Fix coding style in real mode test harness
Date: Fri, 5 Sep 2008 05:10:22 +0300	[thread overview]
Message-ID: <20080905021022.GA7964@mohd-laptop> (raw)

Fix coding style in test_eflags_insn() in real mode test harness.

Signed-off-by: Mohammed Gamal <m.gamal005@gmail.com>
---
 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



             reply	other threads:[~2008-09-05  2:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-05  2:10 Mohammed Gamal [this message]
2008-09-07  6:22 ` [PATCH][RESEND] kvm: testsuite: Fix coding style in real mode test harness Avi Kivity

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080905021022.GA7964@mohd-laptop \
    --to=m.gamal005@gmail.com \
    --cc=avi@qumranet.com \
    --cc=kvm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox