Re: linux-next: build failure after merge of the tpmdd tree

From: Stephen Rothwell
Date: Thu Mar 23 2023 - 22:21:12 EST


Hi all,

On Tue, 21 Mar 2023 11:54:13 +1100 Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:
>
> After merging the tpmdd tree, today's linux-next build (arm
> multi_v7_defconfig) failed like this:
>
> drivers/char/tpm/tpm-chip.c: In function 'tpm_amd_is_rng_defective':
> drivers/char/tpm/tpm-chip.c:531:15: error: too many arguments to function 'tpm_request_locality'
> 531 | ret = tpm_request_locality(chip, 0);
> | ^~~~~~~~~~~~~~~~~~~~
> drivers/char/tpm/tpm-chip.c:35:12: note: declared here
> 35 | static int tpm_request_locality(struct tpm_chip *chip)
> | ^~~~~~~~~~~~~~~~~~~~
>
> Caused by commit
>
> 923c8dfa9a36 ("tpm: fix build break in tpm-chip.c caused by AMD fTPM quirk")
>
> I have used the tmpdd tree from next-20230320 for today.

I am still getting this build failure.

The commit above is trying to fix a build failure that does not exist
in the tmpdd tree!

--
Cheers,
Stephen Rothwell

Attachment: pgpw1noHG6BiP.pgp
Description: OpenPGP digital signature