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

Randy Dunlap rdunlap at infradead.org
Sun Dec 24 23:19:06 PST 2023


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".

-- 
#Randy
https://people.kernel.org/tglx/notes-about-netiquette
https://subspace.kernel.org/etiquette.html



More information about the linux-mtd mailing list