commit | 171360d7800c19622dbdaf202ed6f48ff24a5ae2 | [log] [tgz] |
---|---|---|
author | Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> | Wed Sep 13 09:58:49 2017 -0700 |
committer | Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> | Wed Oct 18 18:28:48 2017 +0300 |
tree | fd40e87f3a4454fc954392de7ba32b03ddccd29c | |
parent | ee70bc1e7b63ac8023c9ff9475d8741e397316e7 [diff] |
tpm: fix type of a local variable in tpm2_get_cc_attrs_tbl() 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@linux.intel.com> Reviewed-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>