Skip to contentSkip to conversation

kvm: testsuite: Fix coding style in real mode test harness

PATCH RESEND Applied Mohammed Gamal 2 participants 2 messages Sep 5, 2008 – Sep 7, 2008 KVM

lore
Share & tools
lore
#0 lore raw

PATCH RESEND 1/1 kvm: testsuite: Fix coding style in real mode test harness

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

---
 user/test/x86/realmode.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
user/test/x86/realmode.c +5 -5
index d760a26..4627529 100644
@@ -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");
 }
 
Signature · 1 line
1.5.4.3
Applied
#1 lore raw
Quoted 3 lines · Mohammed Gamal

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

Applied, thanks.

Signature · 1 line
error compiling committee.c: too many arguments to function