android_kernel_xiaomi_sm8350/drivers/mtd/tests
Arnd Bergmann 729109a0d5 mtd: make mtd_test.c a separate module
[ Upstream commit a5cf054d325e6f362e82fe6d124a1871a4af8174 ]

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: a995c79228 ("mtd: tests: rename sources in order to link a helper object")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20240529095049.1915393-1-arnd@kernel.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-08-19 05:33:33 +02:00
..
Makefile
mtd_nandecctest.c
mtd_test.c
mtd_test.h
nandbiterrs.c
oobtest.c
pagetest.c
readtest.c
speedtest.c
stresstest.c
subpagetest.c
torturetest.c