[PATCH] mtd: make mtd_test.c a separate module
Miquel Raynal
miquel.raynal at bootlin.com
Mon Jul 1 05:00:13 PDT 2024
On Wed, 2024-05-29 at 09:50:39 UTC, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd at arndb.de>
>
> 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 at arndb.de>
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/next, thanks.
Miquel
More information about the linux-mtd
mailing list