Skip to content

[PW_SID:1093296] riscv: module: Use generic cmp_int() instead of custom cmp_3way()#1913

Closed
linux-riscv-bot wants to merge 2 commits into
workflow__riscv__fixesfrom
pw1093296
Closed

[PW_SID:1093296] riscv: module: Use generic cmp_int() instead of custom cmp_3way()#1913
linux-riscv-bot wants to merge 2 commits into
workflow__riscv__fixesfrom
pw1093296

Conversation

@linux-riscv-bot
Copy link
Copy Markdown

PR for series 1093296 applied to workflow__riscv__fixes

Name: riscv: module: Use generic cmp_int() instead of custom cmp_3way()
URL: https://patchwork.kernel.org/project/linux-riscv/list/?series=1093296
Version: 1

Linux RISC-V bot and others added 2 commits May 10, 2026 02:08
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.

Signed-off-by: Florian Schmaus <florian.schmaus@codasip.com>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "riscv: module: Use generic cmp_int() instead of custom cmp_3way()"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 140.85 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "riscv: module: Use generic cmp_int() instead of custom cmp_3way()"
build-rv64-clang-allmodconfig
Desc: Builds riscv64 allmodconfig with Clang, and checks for errors and added warnings
Duration: 1127.24 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "riscv: module: Use generic cmp_int() instead of custom cmp_3way()"
build-rv64-gcc-allmodconfig
Desc: Builds riscv64 allmodconfig with GCC, and checks for errors and added warnings
Duration: 1680.91 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "riscv: module: Use generic cmp_int() instead of custom cmp_3way()"
build-rv64-nommu-k210-defconfig
Desc: Builds riscv64 defconfig with NOMMU for K210
Duration: 26.00 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "riscv: module: Use generic cmp_int() instead of custom cmp_3way()"
build-rv64-nommu-k210-virt
Desc: Builds riscv64 defconfig with NOMMU for the virt platform
Duration: 27.09 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "riscv: module: Use generic cmp_int() instead of custom cmp_3way()"
checkpatch
Desc: Runs checkpatch.pl on the patch
Duration: 0.79 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "riscv: module: Use generic cmp_int() instead of custom cmp_3way()"
dtb-warn-rv64
Desc: Checks for Device Tree warnings/errors
Duration: 87.51 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "riscv: module: Use generic cmp_int() instead of custom cmp_3way()"
header-inline
Desc: Detects static functions without inline keyword in header files
Duration: 0.24 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "riscv: module: Use generic cmp_int() instead of custom cmp_3way()"
kdoc
Desc: Detects for kdoc errors
Duration: 0.89 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "riscv: module: Use generic cmp_int() instead of custom cmp_3way()"
module-param
Desc: Detect module_param changes
Duration: 0.44 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "riscv: module: Use generic cmp_int() instead of custom cmp_3way()"
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 0.45 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "riscv: module: Use generic cmp_int() instead of custom cmp_3way()"
verify-signedoff
Desc: Verifies that Signed-off-by: tags are correct
Duration: 0.31 seconds
Result: PASS

@linux-riscv-bot linux-riscv-bot force-pushed the workflow__riscv__fixes branch from 2d4fcdd to cd9d421 Compare May 14, 2026 08:49
@linux-riscv-bot linux-riscv-bot deleted the pw1093296 branch May 20, 2026 02:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants