Re: [PATCH] ARM: kprobes: Rename test-kprobes.ko to test-kprobes-arm.ko

From: Nicolas Schier

Date: Mon Nov 09 2026 - 02:14:21 EST


On Mon, Nov 09, 2026 at 01:46:42AM -0500, Nathan Chancellor wrote:
> When scripts/modules-check.sh is fixed to normalize the module's name
> like name-fix-token does in scripts/Makefile.lib before checking that it
> is unique [1], there is an error due to lib/tests/test_kprobes.ko and
> arch/arm/probes/kprobes/test-kprobes.ko having the same module name.
>
> error: the following would cause module name conflict:
> arch/arm/probes/kprobes/test-kprobes.ko
> lib/tests/test_kprobes.ko
>
> $ modinfo arch/arm/probes/kprobes/test-kprobes.ko lib/tests/test_kprobes.ko | grep name:
> filename: arch/arm/probes/kprobes/test-kprobes.ko
> name: test_kprobes
> filename: lib/tests/test_kprobes.ko
> name: test_kprobes
>
> Rename arch/arm/probes/kprobes/test-kprobes.ko to test-kprobes-arm.ko to
> make its module name unique and clear up the error.
>
> Reported-by: Sasha Levin <sashal@xxxxxxxxxx>
> Closes: https://lore.kernel.org/20261108225808.1809266-1-sashal@xxxxxxxxxx/
> Link: https://lore.kernel.org/20261103110411.11698-1-info@xxxxxxxxxxxxxxxx/ [1]
> Signed-off-by: Nathan Chancellor <nathan@xxxxxxxxxx>
> ---
> We would like to take [1] for 7.5 in kbuild-next, so we would appreciate
> an ack to take this directly or a stable branch that we can pull in.
> ---
> arch/arm/probes/kprobes/Makefile | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>

Thanks!

Reviewed-by: Nicolas Schier <nsc@xxxxxxxxxx>

--
Nicolas