aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd
diff options
context:
space:
mode:
authorWolfram Sang <w.sang@pengutronix.de>2011-10-30 12:28:49 -0400
committerArtem Bityutskiy <Artem.Bityutskiy@intel.com>2011-10-30 16:33:30 -0400
commit48e546b7f281f251893baa40769581fd15f085fb (patch)
tree15f8a38cf92d56a43f13064966d2b3b76ea78d42 /drivers/mtd
parent7406060e292c389fe6f38bd23493de9b57f2f4fc (diff)
mtd: tests: annotate as DANGEROUS in Kconfig
The tests may erase mtd devices, so annotate them as suggested per coding style and add a paragraph to the help text as well. Artem: amended the help test a bit. Signed-off-by: Wolfram Sang <w.sang@pengutronix.de> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@intel.com>
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/Kconfig5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/mtd/Kconfig b/drivers/mtd/Kconfig
index 4925aa962af3..82c202b874ff 100644
--- a/drivers/mtd/Kconfig
+++ b/drivers/mtd/Kconfig
@@ -13,13 +13,16 @@ menuconfig MTD
13if MTD 13if MTD
14 14
15config MTD_TESTS 15config MTD_TESTS
16 tristate "MTD tests support" 16 tristate "MTD tests support (DANGEROUS)"
17 depends on m 17 depends on m
18 help 18 help
19 This option includes various MTD tests into compilation. The tests 19 This option includes various MTD tests into compilation. The tests
20 should normally be compiled as kernel modules. The modules perform 20 should normally be compiled as kernel modules. The modules perform
21 various checks and verifications when loaded. 21 various checks and verifications when loaded.
22 22
23 WARNING: some of the tests will ERASE entire MTD device which they
24 test. Do not use these tests unless you really know what you do.
25
23config MTD_REDBOOT_PARTS 26config MTD_REDBOOT_PARTS
24 tristate "RedBoot partition table parsing" 27 tristate "RedBoot partition table parsing"
25 ---help--- 28 ---help---