Re: linux-next: Tree for Apr 20

From: Stephen Rothwell
Date: Mon Apr 20 2020 - 03:26:07 EST


Hi all,

On Mon, 20 Apr 2020 09:14:15 +0200 Christian Borntraeger <borntraeger@xxxxxxxxxx> wrote:
>
> s390 defconfig still does not compile. While the media kconfig problem is gone I now have
>
> CC [M] drivers/char/hw_random/cctrng.o
> drivers/char/hw_random/cctrng.c: In function âcc_trng_compwork_handlerâ:
> drivers/char/hw_random/cctrng.c:334:49: error: âfips_enabledâ undeclared (first use in this function); did you mean âvdso_enabledâ?
> 334 | if (CC_REG_FLD_GET(RNG_ISR, CRNGT_ERR, isr) && fips_enabled) {
> | ^~~~~~~~~~~~
> | vdso_enabled
> drivers/char/hw_random/cctrng.c:334:49: note: each undeclared identifier is reported only once for each function it appears in
> drivers/char/hw_random/cctrng.c:335:3: error: implicit declaration of function âfips_fail_notifyâ [-Werror=implicit-function-declaration]
> 335 | fips_fail_notify();
> | ^~~~~~~~~~~~~~~~
> cc1: some warnings being treated as errors
>
> Can we maybe make this driver depend on ARM?

Caused by commit

a583ed310bb6 ("hwrng: cctrng - introduce Arm CryptoCell driver")

which has neglected to include linux/fips.h ...

--
Cheers,
Stephen Rothwell

Attachment: pgpaqVNqpYSuO.pgp
Description: OpenPGP digital signature