[PATCH] ARM: kprobes: Rename test-kprobes.ko to test-kprobes-arm.ko
Arnd Bergmann
arnd at arndb.de
Tue Nov 10 23:24:44 PST 2026
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 at kernel.org>
> Closes: https://lore.kernel.org/20261108225808.1809266-1-sashal@kernel.org/
> Link: https://lore.kernel.org/20261103110411.11698-1-info@daylightlinux.ch/ [1]
> Signed-off-by: Nathan Chancellor <nathan at kernel.org>
Acked-by: Arnd Bergmann <arnd at arndb.de>
More information about the linux-arm-kernel
mailing list