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

2018-08-14 Thread Jarkko Sakkinen
On Tue, Aug 14, 2018 at 07:06:05PM +0300, Jarkko Sakkinen wrote: > On Mon, Aug 13, 2018 at 01:32:53PM -0700, Tadeusz Struk wrote: > > Add a ptr to struct tpm_space to the file_priv to have an easy > > access to it in the async job without the need to allocate memory. > > This also allows to

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

2018-08-14 Thread Jarkko Sakkinen
On Tue, Aug 14, 2018 at 07:06:05PM +0300, Jarkko Sakkinen wrote: > On Mon, Aug 13, 2018 at 01:32:53PM -0700, Tadeusz Struk wrote: > > Add a ptr to struct tpm_space to the file_priv to have an easy > > access to it in the async job without the need to allocate memory. > > This also allows to

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

2018-08-14 Thread Jarkko Sakkinen
On Mon, Aug 13, 2018 at 01:32:53PM -0700, Tadeusz Struk wrote: > Add a ptr to struct tpm_space to the file_priv to have an easy > access to it in the async job without the need to allocate memory. > This also allows to consolidate of the write operations for > the two interfaces. > > Tested-by:

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

2018-08-14 Thread Jarkko Sakkinen
On Mon, Aug 13, 2018 at 01:32:53PM -0700, Tadeusz Struk wrote: > Add a ptr to struct tpm_space to the file_priv to have an easy > access to it in the async job without the need to allocate memory. > This also allows to consolidate of the write operations for > the two interfaces. > > Tested-by:

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

2018-08-13 Thread Tadeusz Struk
Add a ptr to struct tpm_space to the file_priv to have an easy access to it in the async job without the need to allocate memory. This also allows to consolidate of the write operations for the two interfaces. Tested-by: Philip Tricca Signed-off-by: Tadeusz Struk ---

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

2018-08-13 Thread Tadeusz Struk
Add a ptr to struct tpm_space to the file_priv to have an easy access to it in the async job without the need to allocate memory. This also allows to consolidate of the write operations for the two interfaces. Tested-by: Philip Tricca Signed-off-by: Tadeusz Struk ---