From 812613fabc86d0e5feccd19605be39c65c49d35a Mon Sep 17 00:00:00 2001 From: Bowen Wang Date: Thu, 21 Nov 2024 22:59:58 +0800 Subject: [PATCH] drivers/misc/Kconfig: change DEV_ZERO deafult to !DEFAULT_SMALL. /dev/zero is a very commonly used config, for example use /dev/zero to test the filesystem, mtd or block devices performance. So let's default enable it when not enable DEFAULT_SMALL Signed-off-by: Bowen Wang --- drivers/misc/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig index 40efcc23e5..c48e31381f 100644 --- a/drivers/misc/Kconfig +++ b/drivers/misc/Kconfig @@ -13,7 +13,7 @@ config DEV_NULL config DEV_ZERO bool "Enable /dev/zero" - default n + default !DEFAULT_SMALL config DEV_MEM bool "Enable /dev/mem"