[PATCH v4] RISC-V: hwprobe: Use BIT macro to avoid warnings

Paul Walmsley pjw at kernel.org
Thu Aug 6 18:34:31 PDT 2026


On Wed, 5 Aug 2026, Jesse Taube wrote:

> In uapi/asm/hwprobe.h file, (1 << N) is used to define the bit field
> which causes checkpatch to warn. Use _BITUL(N) and _BITULL(N) to avoid
> these warnings.
> 
> Signed-off-by: Jesse Taube <jtaubepe at redhat.com>

Thanks, queued for v7.3 (with the new extensions converted as well).


- Paul



More information about the linux-riscv mailing list