Re: [PATCH v5 1/5] ubi: Use the fault injection framework to enhance the fault injection capability

From: ZhaoLong Wang
Date: Mon Dec 25 2023 - 02:34:44 EST



Thanks for the heads-up on the spelling errors. I'll make a
correction soon

Thanks
ZhaoLong Wang
Hi--

On 12/24/23 23:10, ZhaoLong Wang wrote:
diff --git a/drivers/mtd/ubi/Kconfig b/drivers/mtd/ubi/Kconfig
index 2ed77b7b3fcb..138fae7e8f96 100644
--- a/drivers/mtd/ubi/Kconfig
+++ b/drivers/mtd/ubi/Kconfig
@@ -104,4 +104,13 @@ config MTD_UBI_BLOCK
If in doubt, say "N".
+config MTD_UBI_FAULT_INJECTION
+ bool "Fault injection capability of UBI device"
+ default n
+ depends on FAULT_INJECTION_DEBUG_FS
+ help
+ this option enable fault-injection support for UBI devices for

This option enables

+ testing purposes.
+
+ If in doubt, say "N".