Re: [PATCH v2] iommu/riscv: Fix signedness bug
From: patchwork-bot+linux-riscv
Date: Wed Apr 29 2026 - 23:27:22 EST
Hello:
This patch was applied to riscv/linux.git (fixes)
by Joerg Roedel <joerg.roedel@xxxxxxx>:
On Thu, 26 Mar 2026 12:57:38 -0500 you wrote:
> The function platform_irq_count() returns negative error codes and
> iommu->irqs_count is an unsigned integer, so the check
> (iommu->irqs_count <= 0) is always impossible.
>
> Make the return value of platform_irq_count() be assigned to ret, check
> for error, and then assign iommu->irqs_count to ret.
>
> [...]
Here is the summary with links:
- [v2] iommu/riscv: Fix signedness bug
https://git.kernel.org/riscv/c/553a127cb665
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html