[PATCH] riscv: module: Use generic cmp_int() instead of custom cmp_3way()
patchwork-bot+linux-riscv at kernel.org
patchwork-bot+linux-riscv at kernel.org
Thu May 21 20:08:02 PDT 2026
Hello:
This patch was applied to riscv/linux.git (for-next)
by Paul Walmsley <pjw at kernel.org>:
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
More information about the linux-riscv
mailing list