Re: linux-next: Tree for Jul 27 (arch/s390/kernel/cert_store.c)

From: Sven Schnelle
Date: Thu Jul 27 2023 - 12:35:16 EST


Randy Dunlap <rdunlap@xxxxxxxxxxxxx> writes:

> On 7/26/23 21:33, Stephen Rothwell wrote:
>> Hi all,
>>
>> Changes since 20230726:
>>
>
> on s390:
>
> gcc-13.1.0-nolibc/s390-linux/bin/s390-linux-ld: arch/s390/kernel/cert_store.o: in function `check_certificate_hash':
> arch/s390/kernel/cert_store.c:267: undefined reference to `sha256'
>
> so config CERT_STORE should select CRYPTO_SHA256 or CRYPTO_SHA256_S390 ?
> or both?

I would assume it misses 'select CRYPTO_LIB_SHA256'. We'll prepare a
fix, thanks for letting us know!