mtd: tests: don't use mtd0 as a default
authorWolfram Sang <w.sang@pengutronix.de>
Sat, 29 Oct 2011 22:11:53 +0000 (00:11 +0200)
committerArtem Bityutskiy <Artem.Bityutskiy@intel.com>
Sun, 30 Oct 2011 12:31:04 +0000 (14:31 +0200)
commit7406060e292c389fe6f38bd23493de9b57f2f4fc
tree1b88dfc908c3be01a86d74685a4329c69d2f9348
parent6be55f79a216ccb9f364476b12e5b151a5f6bdb6
mtd: tests: don't use mtd0 as a default

mtd tests may erase the mtd device, so force the user to specify which
mtd device to test by using the module parameter. Disable the default
(using mtd0) since this may destroy a vital part of the flash if the
module is inserted accidently or carelessly.

Reported-by: Roland Kletzing <devzero@web.de>
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@intel.com>
drivers/mtd/tests/mtd_oobtest.c
drivers/mtd/tests/mtd_pagetest.c
drivers/mtd/tests/mtd_readtest.c
drivers/mtd/tests/mtd_speedtest.c
drivers/mtd/tests/mtd_stresstest.c
drivers/mtd/tests/mtd_subpagetest.c
drivers/mtd/tests/mtd_torturetest.c