Re: [PATCH 2/5] tpm: migrate tpm2_shutdown() to use struct tpm_buf

2018-03-01 Thread Jarkko Sakkinen
On Wed, Feb 28, 2018 at 01:25:40PM -0700, Jason Gunthorpe wrote: > On Wed, Feb 28, 2018 at 09:58:15PM +0200, Jarkko Sakkinen wrote: > > In order to make struct tpm_buf the first class object for constructing TPM > > commands, migrate tpm2_shutdown() to use it. In addition, removed the klog > >

Re: [PATCH 2/5] tpm: migrate tpm2_shutdown() to use struct tpm_buf

2018-03-01 Thread Jarkko Sakkinen
On Wed, Feb 28, 2018 at 01:25:40PM -0700, Jason Gunthorpe wrote: > On Wed, Feb 28, 2018 at 09:58:15PM +0200, Jarkko Sakkinen wrote: > > In order to make struct tpm_buf the first class object for constructing TPM > > commands, migrate tpm2_shutdown() to use it. In addition, removed the klog > >

Re: [PATCH 2/5] tpm: migrate tpm2_shutdown() to use struct tpm_buf

2018-02-28 Thread Jason Gunthorpe
On Wed, Feb 28, 2018 at 09:58:15PM +0200, Jarkko Sakkinen wrote: > In order to make struct tpm_buf the first class object for constructing TPM > commands, migrate tpm2_shutdown() to use it. In addition, removed the klog > entry when tpm_transmit_cmd() fails because tpm_tansmit_cmd() already >

Re: [PATCH 2/5] tpm: migrate tpm2_shutdown() to use struct tpm_buf

2018-02-28 Thread Jason Gunthorpe
On Wed, Feb 28, 2018 at 09:58:15PM +0200, Jarkko Sakkinen wrote: > In order to make struct tpm_buf the first class object for constructing TPM > commands, migrate tpm2_shutdown() to use it. In addition, removed the klog > entry when tpm_transmit_cmd() fails because tpm_tansmit_cmd() already >

[PATCH 2/5] tpm: migrate tpm2_shutdown() to use struct tpm_buf

2018-02-28 Thread Jarkko Sakkinen
In order to make struct tpm_buf the first class object for constructing TPM commands, migrate tpm2_shutdown() to use it. In addition, removed the klog entry when tpm_transmit_cmd() fails because tpm_tansmit_cmd() already prints an error message. Signed-off-by: Jarkko Sakkinen

[PATCH 2/5] tpm: migrate tpm2_shutdown() to use struct tpm_buf

2018-02-28 Thread Jarkko Sakkinen
In order to make struct tpm_buf the first class object for constructing TPM commands, migrate tpm2_shutdown() to use it. In addition, removed the klog entry when tpm_transmit_cmd() fails because tpm_tansmit_cmd() already prints an error message. Signed-off-by: Jarkko Sakkinen ---