[PATCH v5 2/3] riscv: Strengthen duplicate and inconsistent definition of RV_X()

Paul Walmsley pjw at kernel.org
Fri Sep 12 18:30:29 PDT 2025


On Fri, 20 Jun 2025, Alexandre Ghiti wrote:

> RV_X() macro is defined in two different ways which is error prone.
> 
> So harmonize its first definition and add another macro RV_X_mask() for
> the second one.
> 
> Reviewed-by: Andrew Jones <ajones at ventanamicro.com>
> Signed-off-by: Alexandre Ghiti <alexghiti at rivosinc.com>

Thanks.  I updated this one to uppercase the name of the RV_X_MASK macro.  
That way it matches the naming of the rest of the macros in the file.  
Queued for v6.18.


- Paul



More information about the linux-riscv mailing list