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

- From: Jarkko Sakkinen \<hidden\>
- Date: 2017-09-13 23:04:38 
- List: linux-security-module
- Page: https://ratatoskr.run/linux-security-module/2017/09/5087857
- Thread: https://ratatoskr.run/linux-security-module/2017/09/5087614/t.md

```text
On Wed, Sep 13, 2017 at 12:14:21PM -0600, Jason Gunthorpe wrote:
> 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

Thanks!

/Jarkko
--
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
```
