The config CRYPTO_LIB_POLY1305_RSIZE should only be part of a kernel build configuration (.config file) when config CRYPTO_LIB_POLY1305 is set. Add a suitable dependency for CONFIG_CRYPTO_LIB_POLY1305_RSIZE. Signed-off-by: Lukas Bulwahn <lukas.bulwahn@xxxxxxxxx> --- lib/crypto/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/crypto/Kconfig b/lib/crypto/Kconfig index 7e9683e9f5c6..71b90952e496 100644 --- a/lib/crypto/Kconfig +++ b/lib/crypto/Kconfig @@ -84,6 +84,7 @@ config CRYPTO_LIB_DES config CRYPTO_LIB_POLY1305_RSIZE int + depends on CRYPTO_LIB_POLY1305 default 2 if MIPS default 11 if X86_64 default 9 if ARM || ARM64 -- 2.17.1