# \[PATCH 1/3\] tpm: fix type of a local variable in tpm2\_get\_cc\_attrs\_tbl()

- From: Jason Gunthorpe \<hidden\>
- Date: 2017-09-13 18:14:35 
- List: linux-security-module
- Page: https://ratatoskr.run/linux-security-module/2017/09/5087642
- Thread: https://ratatoskr.run/linux-security-module/2017/09/5087614/t.md

```text
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 <redacted>

All 3 look good to me:

Reviewed-by: Jason Gunthorpe <redacted>

Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-security-module" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
```
