[PATCH] iommu/riscv: Simplify maximum determination in riscv_iommu_init_check()

Paul Walmsley pjw at kernel.org
Thu Jan 15 18:22:48 PST 2026


On Fri, 28 Feb 2025, Markus Elfring wrote:

> From: Markus Elfring <elfring at users.sourceforge.net>
> Date: Fri, 28 Feb 2025 18:56:00 +0100
> 
> Reduce nested max() calls by a single max3() call in this
> function implementation.
> 
> This issue was detected by using the Coccinelle software.
> 
> Signed-off-by: Markus Elfring <elfring at users.sourceforge.net>

Thanks, queued for v6.20.


- Paul



More information about the linux-riscv mailing list