Re: [PATCH] riscv: ptrace: avoid BIT() in UAPI header
From: patchwork-bot+linux-riscv
Date: Fri Apr 03 2026 - 04:09:05 EST
Hello:
This patch was applied to riscv/linux.git (fixes)
by Paul Walmsley <pjw@xxxxxxxxxx>:
On Mon, 30 Mar 2026 02:42:48 +0000 you wrote:
> BIT() is not available in UAPI headers — the installed linux/bits.h
> (UAPI version) does not define it. Replace BIT() with open-coded
> (1UL << x) which is the standard practice for UAPI headers, and drop
> the linux/bits.h include that was added by commit 98545620b0 ("riscv:
> ptrace: Fix BIT() compilation issues").
>
> Fixes: 98545620b0 ("riscv: ptrace: Fix BIT() compilation issues")
> Signed-off-by: Michael Neuling <mikey@xxxxxxxxxxx>
> Assisted-by: Claude Opus 4.6 (1M context) <noreply@xxxxxxxxxxxxx>
>
> [...]
Here is the summary with links:
- riscv: ptrace: avoid BIT() in UAPI header
https://git.kernel.org/riscv/c/640dc01a97f9
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html