Re: [PATCH v2 1/4] selftests: riscv: Add definition of BIT() macro
From: Paul Walmsley
Date: Fri Mar 20 2026 - 20:53:33 EST
On Mon, 9 Mar 2026, Charlie Jenkins via B4 Relay wrote:
> From: Charlie Jenkins <thecharlesjenkins@xxxxxxxxx>
>
> The BIT() macros is used by the validate_v_ptrace() test case, but not
> defined. Include linux/bits.h to pull in this definition. To ensure that
> the header in the kernel source is used, add tools/include to the header
> search path.
>
> Fixes: 30eb191c895b ("selftests: riscv: verify ptrace rejects invalid vector csr inputs")
> Signed-off-by: Charlie Jenkins <thecharlesjenkins@xxxxxxxxx>
Thanks, queued for v7.0-rc.
- Paul