OSDN Git Service

tpm: migrate tpm2_get_tpm_pt() to use struct tpm_buf
authorJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Mon, 26 Mar 2018 12:14:05 +0000 (15:14 +0300)
committerJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Sat, 28 Jul 2018 14:03:11 +0000 (17:03 +0300)
commit2ab3241161b3c340617063beea199e9966ee90c9
tree06f1480e93604b4e5a0fe3bb70fca1b7c0d616d7
parent94e266ba1fa344631dca424b7c83370c8c22983d
tpm: migrate tpm2_get_tpm_pt() to use struct tpm_buf

In order to make struct tpm_buf the first class object for constructing TPM
commands, migrate tpm2_get_tpm_pt() to use it.

Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Reviewed-by: Nayna Jain <nayna@linux.vnet.ibm.com>
Tested-by: Nayna Jain <nayna@linux.vnet.ibm.com>
Reviewed-by: Jerry Snitselaar <jsnitsel@redhat.com>
drivers/char/tpm/tpm2-cmd.c