linux/drivers/mtd/tests
Arnd Bergmann a5cf054d32 mtd: make mtd_test.c a separate module
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
2024-07-01 11:56:25 +02:00
..
Makefile mtd: make mtd_test.c a separate module 2024-07-01 11:56:25 +02:00
mtd_nandecctest.c treewide: use get_random_u32_below() instead of deprecated function 2022-11-18 02:15:15 +01:00
mtd_test.c mtd: make mtd_test.c a separate module 2024-07-01 11:56:25 +02:00
mtd_test.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
nandbiterrs.c mtd: always initialize 'stats' in struct mtd_oob_ops 2022-09-21 10:38:07 +02:00
oobtest.c mtd: always initialize 'stats' in struct mtd_oob_ops 2022-09-21 10:38:07 +02:00
pagetest.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 326 2019-06-05 17:37:06 +02:00
readtest.c mtd: always initialize 'stats' in struct mtd_oob_ops 2022-09-21 10:38:07 +02:00
speedtest.c treewide: use get_random_bytes() when possible 2022-10-11 17:42:58 -06:00
stresstest.c treewide: use get_random_u32_below() instead of deprecated function 2022-11-18 02:15:15 +01:00
subpagetest.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 326 2019-06-05 17:37:06 +02:00
torturetest.c mtd: tests: Remove redundant assignment to err 2021-05-10 12:48:35 +02:00