Re: [PATCH v2] target/riscv: Optimize ambiguous local variable in pmp_hart_has_privs

2023-07-03 Thread Philippe Mathieu-Daudé
On 3/7/23 16:03, Ruibo Lu wrote: These two values represents whether start/end address is in pmp_range. However, the type and name of them is ambiguous. This commit change the name and type of them to improve code readability and accuracy. Signed-off-by: Ruibo Lu --- target/riscv/pmp.c | 20 +

[PATCH v2] target/riscv: Optimize ambiguous local variable in pmp_hart_has_privs

2023-07-03 Thread Ruibo Lu
These two values represents whether start/end address is in pmp_range. However, the type and name of them is ambiguous. This commit change the name and type of them to improve code readability and accuracy. Signed-off-by: Ruibo Lu --- target/riscv/pmp.c | 20 ++-- 1 file changed,