]> git.ipfire.org Git - thirdparty/linux.git/commit
net: Kconfig NET_DEVMEM selects GENERIC_ALLOCATOR
authorSaeed Mahameed <saeedm@nvidia.com>
Thu, 22 May 2025 21:41:16 +0000 (00:41 +0300)
committerJakub Kicinski <kuba@kernel.org>
Wed, 28 May 2025 00:31:42 +0000 (17:31 -0700)
commitcb575e5e9fd1cba99f1514c36375e74609f92e70
treed0f332b3969a977758c17cae641f18a09af9c811
parentd9d836bfa5e6e255c411733b4b1ce7a1f8346c54
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>
net/Kconfig