tpm: fix type of a local variable in tpm2_map_command()
authorJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Wed, 13 Sep 2017 17:04:35 +0000 (10:04 -0700)
committerJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Wed, 18 Oct 2017 15:28:48 +0000 (18:28 +0300)
commit4557d4bedc9c4c51201a8e802a6671ed8dfc0f41
tree43cb5ce1da2326094a87a8bcaff6d9c1a0cb36fe
parent171360d7800c19622dbdaf202ed6f48ff24a5ae2
tpm: fix type of a local variable in tpm2_map_command()

The local variable 'handle' should have the type __be32 instead of u32.

Fixes: 745b361e989a ("tpm: infrastructure for TPM spaces")
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Reviewed-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
drivers/char/tpm/tpm2-space.c