summaryrefslogtreecommitdiffstats
path: root/drivers/char/tpm/tpm-dev-common.c
diff options
context:
space:
mode:
authorJarkko Sakkinen2018-11-03 02:04:56 +0100
committerJarkko Sakkinen2019-02-13 08:48:01 +0100
commitc3465a370fb371136f6ed7f1d15bcae1037270d3 (patch)
tree9cca0448d5b2db31529927647741cd7e06d6bbc6 /drivers/char/tpm/tpm-dev-common.c
parenttpm: clean up tpm_try_transmit() error handling flow (diff)
downloadkernel-qcow2-linux-c3465a370fb371136f6ed7f1d15bcae1037270d3.tar.gz
kernel-qcow2-linux-c3465a370fb371136f6ed7f1d15bcae1037270d3.tar.xz
kernel-qcow2-linux-c3465a370fb371136f6ed7f1d15bcae1037270d3.zip
tpm: move tpm_validate_commmand() to tpm2-space.c
Move tpm_validate_command() to tpm2-space.c and make it part of the tpm2_prepare_space() flow. Make cc resolution as part of the TPM space functionality in order to detach it from rest of the tpm_transmit() flow. Cc: James Bottomley <James.Bottomley@HansenPartnership.com> Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> Reviewed-by: Stefan Berger <stefanb@linux.ibm.com> Tested-by: Stefan Berger <stefanb@linux.ibm.com> Reviewed-by: Jerry Snitselaar <jsnitsel@redhat.com> Reviewed-by: James Bottomley <James.Bottomley@HansenPartnership.com> Tested-by: Alexander Steffen <Alexander.Steffen@infineon.com>
Diffstat (limited to 'drivers/char/tpm/tpm-dev-common.c')
0 files changed, 0 insertions, 0 deletions