提交 48e546b7 编写于 作者: W Wolfram Sang 提交者: Artem Bityutskiy

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: NWolfram Sang <w.sang@pengutronix.de>
Signed-off-by: NArtem Bityutskiy <Artem.Bityutskiy@intel.com>
上级 7406060e
...@@ -13,13 +13,16 @@ menuconfig MTD ...@@ -13,13 +13,16 @@ menuconfig MTD
if MTD if MTD
config MTD_TESTS config MTD_TESTS
tristate "MTD tests support" tristate "MTD tests support (DANGEROUS)"
depends on m depends on m
help help
This option includes various MTD tests into compilation. The tests This option includes various MTD tests into compilation. The tests
should normally be compiled as kernel modules. The modules perform should normally be compiled as kernel modules. The modules perform
various checks and verifications when loaded. 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 config MTD_REDBOOT_PARTS
tristate "RedBoot partition table parsing" tristate "RedBoot partition table parsing"
---help--- ---help---
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册