Re: [PATCH 2/2] tpm: fix byte-order for the value read by tpm2_get_tpm_pt

From: Jason Gunthorpe
Date: Thu Jul 14 2016 - 23:36:03 EST


On Thu, Jul 14, 2016 at 08:17:01PM -0700, Andrey Pronin wrote:
> conversion. The only place tpm2_get_tpm_pt() was used before was in
> tpm2_gen_interrupt, which discarded the result. So, nobody noticed,
> I guess.

If you have a moment can you run sparse on this file before/after this
change and make sure it did complain and that there are not other
endian errors?

Jason