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

From: Jarkko Sakkinen
Date: Wed Mar 29 2023 - 18:03:32 EST


On Tue, Mar 21, 2023 at 11:54:13AM +1100, Stephen Rothwell wrote:
> Hi all,
>
> 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.
>
> --
> Cheers,
> Stephen Rothwell

My mistake. I've removed the commit from my tree. Apologies.

BR, Jarkko