[PATCH 0/2] riscv: tests: Make RISCV_KPROBES_KUNIT tristate

From: Vivian Wang

Date: Mon Oct 20 2025 - 08:24:49 EST


Fix an allmodconfig warning on v6.18-rc1:

WARNING: 3 bad relocations
ffffffff81e24118 R_RISCV_64 kunit_unary_assert_format
ffffffff81e24a60 R_RISCV_64 kunit_binary_assert_format
ffffffff81e269d0 R_RISCV_JUMP_SLOT __kunit_do_failed_assertion

While we're at it, rename the test to remove the word "test", in order
to conform to the style guide.

---
Vivian Wang (2):
riscv: tests: Rename kprobes_test_riscv to kprobes_riscv
riscv: tests: Make RISCV_KPROBES_KUNIT tristate

arch/riscv/kernel/tests/Kconfig.debug | 2 +-
arch/riscv/kernel/tests/kprobes/Makefile | 4 +++-
arch/riscv/kernel/tests/kprobes/test-kprobes.c | 5 ++++-
3 files changed, 8 insertions(+), 3 deletions(-)
---
base-commit: cb6649f6217c0331b885cf787f1d175963e2a1d2
change-id: 20251020-riscv-kunit-kconfig-fix-6-18-01fc6eba6613

Best regards,
--
Vivian "dramforever" Wang