diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2023-05-10 18:04:45 +0100 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2023-05-11 09:49:25 +0100 |
commit | 692aba8d769585a6cd9e37c101af73dbd1482f7f (patch) | |
tree | 10d0f380649452be1f8679e1185256344181bfe3 | |
parent | 8c313254e61ed47a1bf4a2db714b25cdd94fbcce (diff) | |
download | qemu-692aba8d769585a6cd9e37c101af73dbd1482f7f.zip qemu-692aba8d769585a6cd9e37c101af73dbd1482f7f.tar.gz qemu-692aba8d769585a6cd9e37c101af73dbd1482f7f.tar.bz2 |
disas: Fix tabs and braces in disas.c
Fix these before moving the file, for checkpatch.pl.
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230510170812.663149-1-richard.henderson@linaro.org>
-rw-r--r-- | disas.c | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -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 " |