diff options
| author | Zong Li <zong.li@sifive.com> | 2026-06-07 05:17:52 +0300 |
|---|---|---|
| committer | Paul Walmsley <pjw@kernel.org> | 2026-06-07 05:17:52 +0300 |
| commit | c0db0690f7fae7bd8cf1493e2f6b2a672e0c0de8 (patch) | |
| tree | dba3def951fb94b4b544691dbaf55487fbe067b5 /include/linux/debugobjects.h | |
| parent | 13fe217f64a7ee71aa58d871c6021a721a5a0c6f (diff) | |
| download | linux-c0db0690f7fae7bd8cf1493e2f6b2a672e0c0de8.tar.xz | |
selftests/riscv: fix compiler output flag spacing in all Makefiles
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,
changing it to '-o $@' with a space aligns 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>
Link: https://patch.msgid.link/20260511032917.3542802-1-zong.li@sifive.com
[pjw@kernel.org: cleaned up patch description]
Signed-off-by: Paul Walmsley <pjw@kernel.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
