Re: [PATCH] [v2] crypto: lib/Kconfig: hide library options
From: Herbert Xu
Date: Fri Mar 21 2025 - 07:07:20 EST
On Fri, Mar 14, 2025 at 05:05:32PM +0100, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@xxxxxxxx>
>
> Any driver that needs these library functions should already be selecting
> the corresponding Kconfig symbols, so there is no real point in making
> these visible.
>
> The original patch that made these user selectable described problems
> with drivers failing to select the code they use, but for consistency
> it's better to always use 'select' on a symbol than to mix it with
> 'depends on'.
>
> Fixes: e56e18985596 ("lib/crypto: add prompts back to crypto libraries")
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>
> ---
> v2: add the missing 'select' statements
> ---
> drivers/crypto/marvell/Kconfig | 4 ++--
> lib/crypto/Kconfig | 8 ++++----
> security/keys/Kconfig | 2 +-
> 3 files changed, 7 insertions(+), 7 deletions(-)
Patch applied. Thanks.
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt