public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH][RESEND] kvm: testsuite: Fix coding style in real mode test harness
@ 2008-09-05  2:10 Mohammed Gamal
  2008-09-07  6:22 ` Avi Kivity
  0 siblings, 1 reply; 2+ messages in thread
From: Mohammed Gamal @ 2008-09-05  2:10 UTC (permalink / raw)
  To: kvm; +Cc: avi

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



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH][RESEND] kvm: testsuite: Fix coding style in real mode test harness
  2008-09-05  2:10 [PATCH][RESEND] kvm: testsuite: Fix coding style in real mode test harness Mohammed Gamal
@ 2008-09-07  6:22 ` Avi Kivity
  0 siblings, 0 replies; 2+ messages in thread
From: Avi Kivity @ 2008-09-07  6:22 UTC (permalink / raw)
  To: Mohammed Gamal; +Cc: kvm

Mohammed Gamal wrote:
> Fix coding style in test_eflags_insn() in real mode test harness.
>
>   

Applied, thanks.

-- 
error compiling committee.c: too many arguments to function


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-09-07  6:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-05  2:10 [PATCH][RESEND] kvm: testsuite: Fix coding style in real mode test harness Mohammed Gamal
2008-09-07  6:22 ` Avi Kivity

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox