Re: Re: [tpmdd-devel] [PATCH v10 0/8] TPM 2.0 support

From: Jarkko Sakkinen
Date: Tue Dec 16 2014 - 16:34:56 EST


On Tue, Dec 16, 2014 at 10:32:18PM +0100, Peter Huewe wrote:
> Hi,
> if I fix this (already adressed issue)
> #define TPM2_STARTUP_IN_SIZE \
> (sizeof(struct tpm_input_header) + \
> - sizeof(struct tpm2_pcr_read_in))
> + sizeof(struct tpm2_startup_in))
>
> it gets detected correctly.
>
> I'll fix it, no updated patch needed.

Oops, I was too fast :)

> Not sure however if I think to reuse tpm2_startup_in also for shutdown, simply
> because it has the same size, but ok.

They are equivalent messages except for the command code.

> Peter

/Jarkko
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/