Re: [PATCH v8 2/5] riscv: Change type of valid_vm_1_10_[32|64] to bool

2023-01-28 Thread Bin Meng
On Thu, Jan 26, 2023 at 12:22 AM Alexandre Ghiti wrote: > > This array is actually used as a boolean so swap its current char type > to a boolean and at the same time, change the type of validate_vm to > bool since it returns valid_vm_1_10_[32|64]. > > Suggested-by: Andrew Jones > Signed-off-by:

[PATCH v8 2/5] riscv: Change type of valid_vm_1_10_[32|64] to bool

2023-01-25 Thread Alexandre Ghiti
This array is actually used as a boolean so swap its current char type to a boolean and at the same time, change the type of validate_vm to bool since it returns valid_vm_1_10_[32|64]. Suggested-by: Andrew Jones Signed-off-by: Alexandre Ghiti Reviewed-by: Andrew Jones Reviewed-by: Alistair