[PATCH] riscv: signal: Remove unlikely() from WARN_ON() condition
patchwork-bot+linux-riscv at kernel.org
patchwork-bot+linux-riscv at kernel.org
Thu Jul 25 06:20:39 PDT 2024
Hello:
This patch was applied to riscv/linux.git (for-next)
by Palmer Dabbelt <palmer at rivosinc.com>:
On Thu, 20 Jun 2024 11:34:34 +0800 you wrote:
> "WARN_ON(unlikely(x))" is excessive. WARN_ON() already uses unlikely()
> internally.
>
> Signed-off-by: Zhongqiu Han <quic_zhonhan at quicinc.com>
> Reviewed-by: Bjorn Andersson <quic_bjorande at quicinc.com>
> ---
> arch/riscv/kernel/signal.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Here is the summary with links:
- riscv: signal: Remove unlikely() from WARN_ON() condition
https://git.kernel.org/riscv/c/e1d96a07ba4b
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
More information about the linux-riscv
mailing list