From: Jason A. Donenfeld Date: Thu, 26 May 2022 09:35:47 +0000 (+0200) Subject: crypto: poly1305 - cleanup stray CRYPTO_LIB_POLY1305_RSIZE X-Git-Tag: for-5.19/block-exec-2022-06-02~12 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=8bdc2a190105;p=linux-block.git crypto: poly1305 - cleanup stray CRYPTO_LIB_POLY1305_RSIZE When CRYPTO_LIB_POLY1305 is unset, CRYPTO_LIB_POLY1305_RSIZE is still set in the Kconfig, cluttering things. Fix this by making CRYPTO_LIB_POLY1305_RSIZE depend on CRYPTO_LIB_POLY1305. Suggested-by: Linus Torvalds Signed-off-by: Jason A. Donenfeld Signed-off-by: Linus Torvalds --- diff --git a/lib/crypto/Kconfig b/lib/crypto/Kconfig index 379a66d7f504..a80b8c4dc2cf 100644 --- a/lib/crypto/Kconfig +++ b/lib/crypto/Kconfig @@ -85,6 +85,7 @@ config CRYPTO_LIB_POLY1305_RSIZE default 11 if X86_64 default 9 if ARM || ARM64 default 1 + depends on CRYPTO_LIB_POLY1305 config CRYPTO_ARCH_HAVE_LIB_POLY1305 tristate