From: Saeed Mahameed Date: Thu, 22 May 2025 21:41:16 +0000 (+0300) Subject: net: Kconfig NET_DEVMEM selects GENERIC_ALLOCATOR X-Git-Tag: v6.16-rc1~132^2~11 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cb575e5e9fd1cba99f1514c36375e74609f92e70;p=thirdparty%2Flinux.git net: Kconfig NET_DEVMEM selects GENERIC_ALLOCATOR GENERIC_ALLOCATOR is a non-prompt kconfig, meaning users can't enable it selectively. All kconfig users of GENERIC_ALLOCATOR select it, except of NET_DEVMEM which only depends on it, there is no easy way to turn GENERIC_ALLOCATOR on unless we select other unnecessary configs that will select it. Instead of depending on it, select it when NET_DEVMEM is enabled. Signed-off-by: Saeed Mahameed Reviewed-by: Dragos Tatulea Signed-off-by: Cosmin Ratiu Signed-off-by: Tariq Toukan Reviewed-by: Mina Almasry Link: https://patch.msgid.link/1747950086-1246773-2-git-send-email-tariqt@nvidia.com Signed-off-by: Jakub Kicinski --- diff --git a/net/Kconfig b/net/Kconfig index 5b71a52987d33..ebc80a98fc911 100644 --- a/net/Kconfig +++ b/net/Kconfig @@ -68,8 +68,8 @@ config SKB_EXTENSIONS config NET_DEVMEM def_bool y + select GENERIC_ALLOCATOR depends on DMA_SHARED_BUFFER - depends on GENERIC_ALLOCATOR depends on PAGE_POOL config NET_SHAPER