[PATCH 0/2] riscv: tests: Make RISCV_KPROBES_KUNIT tristate
Vivian Wang
wangruikang at iscas.ac.cn
Mon Oct 20 05:59:38 PDT 2025
On 10/20/25 20:23, Vivian Wang wrote:
> 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
For more context, I said this was to fix a warning, but I tried it out
anyway just to see what happens. Apparently, nothing. The kprobe tests
just don't run if RISCV_KPROBES_KUNIT=y but KUNIT=m.
So this config combination being just wrong is the problem, and the
warning is just a loud symptom.
Vivian "dramforever" Wang
More information about the linux-riscv
mailing list