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 <[email protected]> Reviewed-by: Dragos Tatulea <[email protected]> Signed-off-by: Cosmin Ratiu <[email protected]> Signed-off-by: Tariq Toukan <[email protected]> Reviewed-by: Mina Almasry <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
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)