Re: [PATCH] target/riscv: Declare csr_ops[] with a known size

2021-01-19 Thread Alistair Francis
On Mon, Jan 18, 2021 at 6:52 PM Bin Meng wrote: > > From: Bin Meng > > csr_ops[] is currently declared with an unknown size in cpu.h. > Since the array size is known, let's do a complete declaration. > > Signed-off-by: Bin Meng Thanks! Applied to riscv-to-apply.next Alistair > --- > >

Re: [PATCH] target/riscv: Declare csr_ops[] with a known size

2021-01-19 Thread Alistair Francis
On Mon, Jan 18, 2021 at 6:52 PM Bin Meng wrote: > > From: Bin Meng Reviewed-by: Alistair Francis Alistair > > csr_ops[] is currently declared with an unknown size in cpu.h. > Since the array size is known, let's do a complete declaration. > > Signed-off-by: Bin Meng > --- > >

Re: [PATCH] target/riscv: Declare csr_ops[] with a known size

2021-01-18 Thread Philippe Mathieu-Daudé
On 1/19/21 3:52 AM, Bin Meng wrote: > From: Bin Meng > > csr_ops[] is currently declared with an unknown size in cpu.h. > Since the array size is known, let's do a complete declaration. > > Signed-off-by: Bin Meng > --- > > target/riscv/cpu.h | 2 +- > 1 file changed, 1 insertion(+), 1

[PATCH] target/riscv: Declare csr_ops[] with a known size

2021-01-18 Thread Bin Meng
From: Bin Meng csr_ops[] is currently declared with an unknown size in cpu.h. Since the array size is known, let's do a complete declaration. Signed-off-by: Bin Meng --- target/riscv/cpu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/riscv/cpu.h