[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 03/53] disas: Fix tabs and braces in disas.c
From: |
Richard Henderson |
Subject: |
[PULL 03/53] disas: Fix tabs and braces in disas.c |
Date: |
Thu, 11 May 2023 09:04:00 +0100 |
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>
---
disas.c | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
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 "
--
2.34.1
- [PULL 38/53] tcg/riscv: Simplify constraints on qemu_ld/st, (continued)
- [PULL 38/53] tcg/riscv: Simplify constraints on qemu_ld/st, Richard Henderson, 2023/05/11
- [PULL 23/53] tcg/aarch64: Convert tcg_out_qemu_{ld,st}_slow_path, Richard Henderson, 2023/05/11
- [PULL 39/53] tcg/s390x: Use ALGFR in constructing softmmu host address, Richard Henderson, 2023/05/11
- [PULL 20/53] tcg: Add routines for calling slow-path helpers, Richard Henderson, 2023/05/11
- [PULL 19/53] tcg/s390x: Introduce prepare_host_addr, Richard Henderson, 2023/05/11
- [PULL 28/53] tcg/riscv: Convert tcg_out_qemu_{ld,st}_slow_path, Richard Henderson, 2023/05/11
- [PULL 27/53] tcg/ppc: Convert tcg_out_qemu_{ld,st}_slow_path, Richard Henderson, 2023/05/11
- [PULL 30/53] tcg/loongarch64: Simplify constraints on qemu_ld/st, Richard Henderson, 2023/05/11
- [PULL 29/53] tcg/s390x: Convert tcg_out_qemu_{ld,st}_slow_path, Richard Henderson, 2023/05/11
- [PULL 24/53] tcg/arm: Convert tcg_out_qemu_{ld,st}_slow_path, Richard Henderson, 2023/05/11
- [PULL 03/53] disas: Fix tabs and braces in disas.c,
Richard Henderson <=
- [PULL 35/53] tcg/ppc: Adjust constraints on qemu_ld/st, Richard Henderson, 2023/05/11
- [PULL 37/53] tcg/ppc: Remove unused constraint J, Richard Henderson, 2023/05/11
- [PULL 32/53] tcg/mips: Reorg tlb load within prepare_host_addr, Richard Henderson, 2023/05/11
- [PULL 40/53] tcg/s390x: Simplify constraints on qemu_ld/st, Richard Henderson, 2023/05/11
- [PULL 42/53] target/mips: Add missing default_tcg_memop_mask, Richard Henderson, 2023/05/11
- [PULL 41/53] target/mips: Add MO_ALIGN to gen_llwp, gen_scwp, Richard Henderson, 2023/05/11
- [PULL 44/53] target/mips: Remove TARGET_ALIGNED_ONLY, Richard Henderson, 2023/05/11
- [PULL 43/53] target/mips: Use MO_ALIGN instead of 0, Richard Henderson, 2023/05/11
- [PULL 45/53] target/nios2: Remove TARGET_ALIGNED_ONLY, Richard Henderson, 2023/05/11
- [PULL 48/53] tcg: Remove TARGET_ALIGNED_ONLY, Richard Henderson, 2023/05/11