Re: [PATCH v6 1/2] tpm: add ptr to the tpm_space struct to file_priv

2018-09-10 Thread Jarkko Sakkinen
On Mon, Sep 10, 2018 at 10:18:28AM -0700, Tadeusz Struk wrote: > Add a ptr to struct tpm_space to the file_priv and consolidate > of the write operations for the two interfaces. > > Tested-by: Philip Tricca > Signed-off-by: Tadeusz Struk Reviewed-by: Jarkko Sakkinen /Jarkko

[PATCH v6 1/2] tpm: add ptr to the tpm_space struct to file_priv

2018-09-10 Thread Tadeusz Struk
Add a ptr to struct tpm_space to the file_priv and consolidate of the write operations for the two interfaces. Tested-by: Philip Tricca Signed-off-by: Tadeusz Struk --- drivers/char/tpm/tpm-dev-common.c |8 +--- drivers/char/tpm/tpm-dev.c| 10 ++ drivers/char/tpm/tpm-d