Re: [PATCH 04/23] TPM: Expose struct tpm_chip and related find_get and put functions
Jason Gunthorpe <jgg-uk2M96/[email protected]>
| Newsgroups | net.sourceforge.lists.tpmdd-devel,org.kernel.vger.keyrings,org.kernel.vger.linux-integrity,org.kernel.vger.linux-security-module |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Aug 21, 2018 at 04:57:16PM +0100, David Howells wrote: > Expose struct tpm_chip and related find_get and put functions so that > TPM-using code can make sure it uses the same TPM for any related set of > operations. > > Signed-off-by: David Howells <[email protected]> > --- > drivers/char/tpm/tpm-interface.c | 19 ++++++++++++++++--- > drivers/char/tpm/tpm.h | 5 ----- > include/linux/tpm.h | 10 ++++++++++ > 3 files changed, 26 insertions(+), 8 deletions(-) I think this is already in the kernel .. Stephen did it. Jason ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot