Skip to content

Commit cb575e5

Browse files
Saeed Mahameedkuba-moo
authored andcommitted
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 <saeedm@nvidia.com> Reviewed-by: Dragos Tatulea <dtatulea@nvidia.com> Signed-off-by: Cosmin Ratiu <cratiu@nvidia.com> Signed-off-by: Tariq Toukan <tariqt@nvidia.com> Reviewed-by: Mina Almasry <almasrymina@google.com> Link: https://patch.msgid.link/1747950086-1246773-2-git-send-email-tariqt@nvidia.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
1 parent d9d836b commit cb575e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

net/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ config SKB_EXTENSIONS
6868

6969
config NET_DEVMEM
7070
def_bool y
71+
select GENERIC_ALLOCATOR
7172
depends on DMA_SHARED_BUFFER
72-
depends on GENERIC_ALLOCATOR
7373
depends on PAGE_POOL
7474

7575
config NET_SHAPER

0 commit comments

Comments
 (0)