linux-next: build failure after merge of the crypto tree
From: Stephen Rothwell
Date: Tue Mar 12 2024 - 20:58:07 EST
Hi all,
After merging the crypto tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:
In file included from mm/zswap.c:30:
include/crypto/acompress.h: In function 'acomp_is_async':
include/crypto/acompress.h:124:16: error: implicit declaration of function 'crypto_comp_alg_common'; did you mean 'crypto_tfm_alg_name'? [-Werror=implicit-function-declaration]
124 | return crypto_comp_alg_common(tfm)->base.cra_flags &
| ^~~~~~~~~~~~~~~~~~~~~~
| crypto_tfm_alg_name
include/crypto/acompress.h:124:43: error: invalid type argument of '->' (have 'int')
124 | return crypto_comp_alg_common(tfm)->base.cra_flags &
| ^~
include/crypto/acompress.h:126:1: error: control reaches end of non-void function [-Werror=return-type]
126 | }
| ^
cc1: some warnings being treated as errors
Caused by commit
86464db929ca ("crypto: introduce: acomp_is_async to expose if comp drivers might sleep")
from the mm-unstable branch of the mm tree interacting with commit
2beb81fbf0c0 ("crypto: remove CONFIG_CRYPTO_STATS")
from the crypto tree.
I have reverted these commits from the mm-unstable branch for today:
86464db929ca ("crypto: introduce: acomp_is_async to expose if comp drivers might sleep")
791f798331bc ("mm/zswap: remove the memcpy if acomp is not sleepable")
I will stop merging the -unstable parts of the mm tree from tomorrow.
--
Cheers,
Stephen Rothwell
Attachment:
pgpECfjH2HV4i.pgp
Description: OpenPGP digital signature