Re: [PATCH] mtd: make mtd_test.c a separate module
From: Miquel Raynal
Date: Mon Jul 01 2024 - 08:00:58 EST
On Wed, 2024-05-29 at 09:50:39 UTC, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@xxxxxxxx>
>
> This file gets linked into nine different modules, which causes a warning:
>
> scripts/Makefile.build:236: drivers/mtd/tests/Makefile: mtd_test.o is added to multiple modules: mtd_nandbiterrs mtd_oobtest mtd_pagetest mtd_readtest mtd_speedtest mtd_stresstest mtd_subpagetest mtd_torturetest
>
> Make it a separate module instead.
>
> Fixes: a995c792280d ("mtd: tests: rename sources in order to link a helper object")
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/next, thanks.
Miquel