Re: [PATCH] riscv: module: Use generic cmp_int() instead of custom cmp_3way()
From: patchwork-bot+linux-riscv
Date: Thu May 21 2026 - 23:14:40 EST
Hello:
This patch was applied to riscv/linux.git (for-next)
by Paul Walmsley <pjw@xxxxxxxxxx>:
On Tue, 12 May 2026 08:32:31 +0200 you wrote:
> The module-sections.c file defines a custom cmp_3way() macro to perform
> 3-way comparisons during relocation sorting.
>
> Instead of maintaining our own implementation, use the generic
> cmp_int() macro provided by the already included <linux/sort.h>. This
> removes redundant code and relies on standard kernel interfaces.
>
> [...]
Here is the summary with links:
- riscv: module: Use generic cmp_int() instead of custom cmp_3way()
https://git.kernel.org/riscv/c/7a6fbb72a489
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html