From: Eric Biggers <[email protected]>

Explicitly select CRYPTO from BCACHEFS_FS, so that this dependency of
CRYPTO_SHA256, CRYPTO_CHACHA20, and CRYPTO_POLY1305 (which are also
selected) is satisfied.  Currently this dependency is satisfied
indirectly via LIBCRC32C, but this is fragile and is planned to change
(https://lore.kernel.org/r/[email protected]).

Reported-by: kernel test robot <[email protected]>
Closes: 
https://lore.kernel.org/oe-kbuild-all/[email protected]/
Signed-off-by: Eric Biggers <[email protected]>
---
 fs/bcachefs/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/fs/bcachefs/Kconfig b/fs/bcachefs/Kconfig
index 5bac803ea367c..a61b22c142a19 100644
--- a/fs/bcachefs/Kconfig
+++ b/fs/bcachefs/Kconfig
@@ -13,10 +13,11 @@ config BCACHEFS_FS
        select LZ4HC_DECOMPRESS
        select ZLIB_DEFLATE
        select ZLIB_INFLATE
        select ZSTD_COMPRESS
        select ZSTD_DECOMPRESS
+       select CRYPTO
        select CRYPTO_SHA256
        select CRYPTO_CHACHA20
        select CRYPTO_POLY1305
        select KEYS
        select RAID6_PQ

base-commit: 42f7652d3eb527d03665b09edac47f85fb600924
-- 
2.47.0.163.g1226f6d8fa-goog


Reply via email to