Re: [PATCH] ARM: kprobes: Rename test-kprobes.ko to test-kprobes-arm.ko
From: Arnd Bergmann
Date: Wed Nov 11 2026 - 02:32:30 EST
On Mon, Nov 9, 2026, at 07:46, 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>
Acked-by: Arnd Bergmann <arnd@xxxxxxxx>