Re: [PATCH v5 08/17] tpm: access command header through struct in tpm_try_transmit()

2018-11-08 Thread Stefan Berger
On 11/8/18 9:15 AM, Jarkko Sakkinen wrote: 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 Reviewed-by: Stefan Berger --

[PATCH v5 08/17] tpm: access command header through struct in tpm_try_transmit()

2018-11-08 Thread Jarkko Sakkinen
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 --- drivers/char/tpm/tpm-interface.c | 4 ++-- 1 file changed, 2 insertions(+),