[PATCH] riscv: Make regs_irqs_disabled() more clear

patchwork-bot+linux-riscv at kernel.org patchwork-bot+linux-riscv at kernel.org
Mon Jun 2 15:12:37 PDT 2025


Hello:

This patch was applied to riscv/linux.git (for-next)
by Palmer Dabbelt <palmer at dabbelt.com>:

On Tue, 22 Apr 2025 19:31:56 +0800 you wrote:
> The return value of regs_irqs_disabled() is true or false, so change
> its type to reflect that and also make it always inline.
> 
> Suggested-by: Huacai Chen <chenhuacai at loongson.cn>
> Signed-off-by: Tiezhu Yang <yangtiezhu at loongson.cn>
> ---
>  arch/riscv/include/asm/ptrace.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Here is the summary with links:
  - riscv: Make regs_irqs_disabled() more clear
    https://git.kernel.org/riscv/c/91a072f84c2d

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