From: Wolfram Sang Date: Sun, 30 Oct 2011 16:28:49 +0000 (+0100) Subject: mtd: tests: annotate as DANGEROUS in Kconfig X-Git-Tag: v3.2-rc1~14^2 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=48e546b7f281f251893baa40769581fd15f085fb;p=linux.git 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 Signed-off-by: Artem Bityutskiy --- 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 if MTD config MTD_TESTS - tristate "MTD tests support" + tristate "MTD tests support (DANGEROUS)" depends on m help This option includes various MTD tests into compilation. The tests should normally be compiled as kernel modules. The modules perform various checks and verifications when loaded. + WARNING: some of the tests will ERASE entire MTD device which they + test. Do not use these tests unless you really know what you do. + config MTD_REDBOOT_PARTS tristate "RedBoot partition table parsing" ---help---