diff options
author | Jarkko Sakkinen | 2018-11-03 01:31:07 +0100 |
---|---|---|
committer | Jarkko Sakkinen | 2019-02-13 08:47:42 +0100 |
commit | 720b071102d8fab3f0a2808db3ba76c5ce880b7a (patch) | |
tree | cfb8705e32d11c3cbdbf5cb1d135f45de944f852 /Documentation/fb | |
parent | tpm: declare struct tpm_header (diff) | |
download | kernel-qcow2-linux-720b071102d8fab3f0a2808db3ba76c5ce880b7a.tar.gz kernel-qcow2-linux-720b071102d8fab3f0a2808db3ba76c5ce880b7a.tar.xz kernel-qcow2-linux-720b071102d8fab3f0a2808db3ba76c5ce880b7a.zip |
tpm: access command header through struct in tpm_try_transmit()
Instead of accessing fields of the command header through offsets to
the raw buffer, it is a better idea to use the header struct pointer
that is already used elsewhere in the function.
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 'Documentation/fb')
0 files changed, 0 insertions, 0 deletions