Messages in this thread | | | Subject | Re: [PATCH] ima: Use tpm_default_chip() and call TPM functions with a tpm_chip | From | Jarkko Sakkinen <> | Date | Tue, 03 Jul 2018 19:32:07 +0300 |
| |
On Mon, 2018-07-02 at 13:00 -0400, Mimi Zohar wrote: > On Mon, 2018-07-02 at 11:24 -0400, Stefan Berger wrote: > > Rather than accessing the TPM functions by passing a NULL pointer for > > the tpm_chip, which causes a lookup for a suitable chip every time, get a > > hold of a tpm_chip and access the TPM functions using it. Also get rid of > > the ima_used_chip variable and use the new ima_tpm_chip variable instead > > for determining whether to call TPM functions. > > > > Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com> > > Acked-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> > > Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com> > > Jarkko, would you mind staging this patch with the rest of the patch > set?
Yes, sure, I can do that. Any additional tag?
/Jarkko
| |