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

Nathan Chancellor nathan at kernel.org
Wed Nov 11 10:23:49 PST 2026


On Wed, Nov 11, 2026 at 08:24:44AM +0100, Arnd Bergmann wrote:
> 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>

Thanks a lot! Nicolas, can you pick this up?

-- 
Cheers,
Nathan



More information about the linux-arm-kernel mailing list