From 422819776101520cb56658ee5facf926526cf870 Mon Sep 17 00:00:00 2001 From: Xinhao Zhang Date: Fri, 30 Oct 2020 08:48:15 +0800 Subject: [PATCH] target/riscv/csr.c : add space before the open parenthesis '(' Fix code style. Space required before the open parenthesis '('. Signed-off-by: Xinhao Zhang Signed-off-by: Kai Deng Reported-by: Euler Robot Reviewed-by: Bin Meng Reviewed-by: Alistair Francis Message-id: 20201030004815.4172849-1-zhangxinhao1@huawei.com Signed-off-by: Alistair Francis --- target/riscv/csr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/riscv/csr.c b/target/riscv/csr.c index e33f6cdc11..93263f8e06 100644 --- a/target/riscv/csr.c +++ b/target/riscv/csr.c @@ -882,7 +882,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; -- 2.11.4.GIT