From 757608b77cd840f6acd2c86625194096944669b9 Mon Sep 17 00:00:00 2001 From: Xinhao Zhang Date: Mon, 8 Mar 2021 14:53:54 -0500 Subject: [PATCH] target/riscv/csr.c : add space before the open parenthesis '(' Fix code style. Space required before the open parenthesis '('. Backports 422819776101520cb56658ee5facf926526cf870 --- qemu/target/riscv/csr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qemu/target/riscv/csr.c b/qemu/target/riscv/csr.c index 6d35ef97..1b038ac1 100644 --- a/qemu/target/riscv/csr.c +++ b/qemu/target/riscv/csr.c @@ -830,7 +830,7 @@ static int write_satp(CPURISCVState *env, int csrno, target_ulong val) if (env->priv == PRV_S && get_field(env->mstatus, MSTATUS_TVM)) { return -RISCV_EXCP_ILLEGAL_INST; } else { - if((val ^ env->satp) & SATP_ASID) { + if ((val ^ env->satp) & SATP_ASID) { tlb_flush(env_cpu(env)); } env->satp = val;