[PATCH v2 1/4] tpm: Cache TPM2 start method

Jarkko Sakkinen jarkko at kernel.org
Sat Nov 14 13:00:28 PST 2026


On Sat, Nov 14, 2026 at 07:34:31PM +0000, Siddharth Chintamaneni wrote:
> +		status = acpi_get_table(ACPI_SIG_TPM2, 1,
> +					(struct acpi_table_header **)&tbl);

Nit: no need to split into two lines and I think you can also express
this in more compact way:

	status = acpi_get_table(ACPI_SIG_TPM2, 1, (typeof(*tbl) **)&tbl);

Br, Jarkko



More information about the linux-arm-kernel mailing list