diff mbox series

disas: Fix tabs and braces in disas.c

Message ID 20230510170812.663149-1-richard.henderson@linaro.org
State Superseded
Headers show
Series disas: Fix tabs and braces in disas.c | expand

Commit Message

Richard Henderson May 10, 2023, 5:08 p.m. UTC
Fix these before moving the file, for checkpatch.pl.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
 disas.c | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

Comments

Peter Maydell May 10, 2023, 6:53 p.m. UTC | #1
On Wed, 10 May 2023 at 18:09, Richard Henderson
<richard.henderson@linaro.org> wrote:
>
> Fix these before moving the file, for checkpatch.pl.
>
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
> ---
>  disas.c | 11 ++++++-----

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>

thanks
-- PMM
diff mbox series

Patch

diff --git a/disas.c b/disas.c
index b087c12c47..d46f638a72 100644
--- a/disas.c
+++ b/disas.c
@@ -226,11 +226,12 @@  void target_disas(FILE *out, CPUState *cpu, target_ulong code,
     }
 
     for (pc = code; size > 0; pc += count, size -= count) {
-	fprintf(out, "0x" TARGET_FMT_lx ":  ", pc);
-	count = s.info.print_insn(pc, &s.info);
-	fprintf(out, "\n");
-	if (count < 0)
-	    break;
+        fprintf(out, "0x" TARGET_FMT_lx ":  ", pc);
+        count = s.info.print_insn(pc, &s.info);
+        fprintf(out, "\n");
+        if (count < 0) {
+            break;
+        }
         if (size < count) {
             fprintf(out,
                     "Disassembler disagrees with translator over instruction "