Re: [PATCH 06/18] target/riscv: Use 'bool' type for read_only

2023-02-16 Thread LIU Zhiwei
On 2023/2/14 2:02, Bin Meng wrote: The read_only variable is currently declared as an 'int', but it should really be a 'bool'. Signed-off-by: Bin Meng --- 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

Re: [PATCH 06/18] target/riscv: Use 'bool' type for read_only

2023-02-14 Thread weiwei
On 2023/2/14 02:02, Bin Meng wrote: The read_only variable is currently declared as an 'int', but it should really be a 'bool'. Signed-off-by: Bin Meng Reviewed-by: Weiwei Li Regards, Weiwei Li --- target/riscv/csr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 06/18] target/riscv: Use 'bool' type for read_only

2023-02-13 Thread Bin Meng
The read_only variable is currently declared as an 'int', but it should really be a 'bool'. Signed-off-by: Bin Meng --- 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 cc74819759..8bbc75cbfa 100644 ---