Skip to content

[PW_SID:1092473] selftests/riscv: fix compiler output flag spacing in all Makefiles#1903

Closed
linux-riscv-bot wants to merge 1 commit into
workflow__riscv__fixesfrom
pw1092473
Closed

[PW_SID:1092473] selftests/riscv: fix compiler output flag spacing in all Makefiles#1903
linux-riscv-bot wants to merge 1 commit into
workflow__riscv__fixesfrom
pw1092473

Conversation

@linux-riscv-bot
Copy link
Copy Markdown

PR for series 1092473 applied to workflow__riscv__fixes

Name: selftests/riscv: fix compiler output flag spacing in all Makefiles
URL: https://patchwork.kernel.org/project/linux-riscv/list/?series=1092473
Version: 1

Standardize the compiler output flag format across all RISC-V
selftests by adding a space between '-o' and '$@'.

Although '-o$@' is perfectly valid for GCC/Clang to parse, But
changing it to '-o $@' with a space could align with the GNU
official documentation conventions, improves readability by
visually separating the flag from the target variable, and
ensures consistency with other architectures

Currently, RISC-V selftests use '-o$@' (without space) in 13
instances across 6 Makefiles, while all other architectures
consistently use '-o $@' (with space). This inconsistency makes
RISC-V an outlier in the kernel's selftest infrastructure.

Signed-off-by: Zong Li <zong.li@sifive.com>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "selftests/riscv: fix compiler output flag spacing in all Makefiles"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 113.58 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "selftests/riscv: fix compiler output flag spacing in all Makefiles"
build-rv64-clang-allmodconfig
Desc: Builds riscv64 allmodconfig with Clang, and checks for errors and added warnings
Duration: 1010.11 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "selftests/riscv: fix compiler output flag spacing in all Makefiles"
build-rv64-gcc-allmodconfig
Desc: Builds riscv64 allmodconfig with GCC, and checks for errors and added warnings
Duration: 1354.95 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "selftests/riscv: fix compiler output flag spacing in all Makefiles"
build-rv64-nommu-k210-defconfig
Desc: Builds riscv64 defconfig with NOMMU for K210
Duration: 19.19 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "selftests/riscv: fix compiler output flag spacing in all Makefiles"
build-rv64-nommu-k210-virt
Desc: Builds riscv64 defconfig with NOMMU for the virt platform
Duration: 20.76 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "selftests/riscv: fix compiler output flag spacing in all Makefiles"
checkpatch
Desc: Runs checkpatch.pl on the patch
Duration: 1.38 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "selftests/riscv: fix compiler output flag spacing in all Makefiles"
dtb-warn-rv64
Desc: Checks for Device Tree warnings/errors
Duration: 75.67 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "selftests/riscv: fix compiler output flag spacing in all Makefiles"
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: "selftests/riscv: fix compiler output flag spacing in all Makefiles"
kdoc
Desc: Detects for kdoc errors
Duration: 0.71 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "selftests/riscv: fix compiler output flag spacing in all Makefiles"
module-param
Desc: Detect module_param changes
Duration: 0.25 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "selftests/riscv: fix compiler output flag spacing in all Makefiles"
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 0.23 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "selftests/riscv: fix compiler output flag spacing in all Makefiles"
verify-signedoff
Desc: Verifies that Signed-off-by: tags are correct
Duration: 0.27 seconds
Result: PASS

@linux-riscv-bot linux-riscv-bot deleted the pw1092473 branch May 13, 2026 21:59
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