Re: [PATCH 1/3] tpm: fix type of a local variable in tpm2_get_cc_attrs_tbl()

From: Jason Gunthorpe
Date: Wed Sep 13 2017 - 14:14:37 EST


On Wed, Sep 13, 2017 at 10:26:20AM -0700, Jarkko Sakkinen wrote:
> The local variable 'attrs' should have the type __be32 instead of u32.
>
> Fixes: 58472f5cd4f6 ("tpm: validate TPM 2.0 commands")
> Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@xxxxxxxxxxxxxxx>

All 3 look good to me:

Reviewed-by: Jason Gunthorpe <jgunthorpe@xxxxxxxxxxxxxxxxxxxx>

Jason