diff for duplicates of <20171024222741.lqvgpdaosjazpvfd@linux.intel.com> diff --git a/a/1.txt b/N1/1.txt index ee3626e..9bd53c1 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -10,7 +10,7 @@ On Tue, Oct 24, 2017 at 12:52:08PM -0600, Jason Gunthorpe wrote: > -struct tpm_chip *tpm_chip_find_get(int chip_num) > +struct tpm_chip *tpm_chip_find_get(struct tpm_chip *chip); > -> Where chip = NULL means the default TPM. +> Where chip == NULL means the default TPM. > > And then at all call sites swap TPM_ANY_NUM to NULL and instead of > flowing an 'int chip_num' to tpm_chip_find_get, flow the 'struct diff --git a/a/content_digest b/N1/content_digest index 4d5a67b..6da2d89 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -2,7 +2,7 @@ "ref\020171024185208.GD1806@obsidianresearch.com\0" "From\0Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>\0" "Subject\0Re: [PATCH] tpm: remove chip_num parameter from in-kernel API\0" - "Date\0Tue, 24 Oct 2017 22:27:41 +0000\0" + "Date\0Wed, 25 Oct 2017 00:27:41 +0200\0" "To\0Jason Gunthorpe <jgunthorpe@obsidianresearch.com>\0" "Cc\0linux-integrity@vger.kernel.org" linux-security-module@vger.kernel.org @@ -33,7 +33,7 @@ "> -struct tpm_chip *tpm_chip_find_get(int chip_num)\n" "> +struct tpm_chip *tpm_chip_find_get(struct tpm_chip *chip);\n" "> \n" - "> Where chip = NULL means the default TPM.\n" + "> Where chip == NULL means the default TPM.\n" "> \n" "> And then at all call sites swap TPM_ANY_NUM to NULL and instead of\n" "> flowing an 'int chip_num' to tpm_chip_find_get, flow the 'struct\n" @@ -49,4 +49,4 @@ "\n" /Jarkko -aeb2fa7b9066dc3b012dc12cbdb296cd6ea39b8191cf4639d1d8740b6dfbcaa0 +7b9c026e1206655face3bf1e6144639e253d69fc2dd81d457a54e27a6de83711
diff --git a/a/1.txt b/N2/1.txt index ee3626e..4f66f8e 100644 --- a/a/1.txt +++ b/N2/1.txt @@ -10,7 +10,7 @@ On Tue, Oct 24, 2017 at 12:52:08PM -0600, Jason Gunthorpe wrote: > -struct tpm_chip *tpm_chip_find_get(int chip_num) > +struct tpm_chip *tpm_chip_find_get(struct tpm_chip *chip); > -> Where chip = NULL means the default TPM. +> Where chip == NULL means the default TPM. > > And then at all call sites swap TPM_ANY_NUM to NULL and instead of > flowing an 'int chip_num' to tpm_chip_find_get, flow the 'struct @@ -25,3 +25,7 @@ I can do that. I will rework this as a patch set that includes this proposal. Gives us more clean position to continue. Thank you. /Jarkko +-- +To unsubscribe from this list: send the line "unsubscribe linux-security-module" in +the body of a message to majordomo at vger.kernel.org +More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/a/content_digest b/N2/content_digest index 4d5a67b..258e365 100644 --- a/a/content_digest +++ b/N2/content_digest @@ -1,24 +1,9 @@ "ref\020171023123817.18559-1-jarkko.sakkinen@linux.intel.com\0" "ref\020171024185208.GD1806@obsidianresearch.com\0" - "From\0Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>\0" - "Subject\0Re: [PATCH] tpm: remove chip_num parameter from in-kernel API\0" - "Date\0Tue, 24 Oct 2017 22:27:41 +0000\0" - "To\0Jason Gunthorpe <jgunthorpe@obsidianresearch.com>\0" - "Cc\0linux-integrity@vger.kernel.org" - linux-security-module@vger.kernel.org - Matt Mackall <mpm@selenic.com> - Herbert Xu <herbert@gondor.apana.org.au> - Peter Huewe <peterhuewe@gmx.de> - Marcel Selhorst <tpmdd@selhorst.net> - Mimi Zohar <zohar@linux.vnet.ibm.com> - Dmitry Kasatkin <dmitry.kasatkin@gmail.com> - James Morris <james.l.morris@oracle.com> - Serge E. Hallyn <serge@hallyn.com> - David Howells <dhowells@redhat.com> - Jerry Snitselaar <jsnitsel@redhat.com> - open list:HARDWARE RANDOM NUMBER GENERATOR CORE <linux-crypto@vger.kernel.org> - open list <linux-kernel@vger.kernel.org> - " open list:KEYS-TRUSTED <keyrings@vger.kernel.org>\0" + "From\0jarkko.sakkinen@linux.intel.com (Jarkko Sakkinen)\0" + "Subject\0[PATCH] tpm: remove chip_num parameter from in-kernel API\0" + "Date\0Wed, 25 Oct 2017 00:27:41 +0200\0" + "To\0linux-security-module@vger.kernel.org\0" "\00:1\0" "b\0" "On Tue, Oct 24, 2017 at 12:52:08PM -0600, Jason Gunthorpe wrote:\n" @@ -33,7 +18,7 @@ "> -struct tpm_chip *tpm_chip_find_get(int chip_num)\n" "> +struct tpm_chip *tpm_chip_find_get(struct tpm_chip *chip);\n" "> \n" - "> Where chip = NULL means the default TPM.\n" + "> Where chip == NULL means the default TPM.\n" "> \n" "> And then at all call sites swap TPM_ANY_NUM to NULL and instead of\n" "> flowing an 'int chip_num' to tpm_chip_find_get, flow the 'struct\n" @@ -47,6 +32,10 @@ "I can do that. I will rework this as a patch set that includes this\n" "proposal. Gives us more clean position to continue. Thank you.\n" "\n" - /Jarkko + "/Jarkko\n" + "--\n" + "To unsubscribe from this list: send the line \"unsubscribe linux-security-module\" in\n" + "the body of a message to majordomo at vger.kernel.org\n" + More majordomo info at http://vger.kernel.org/majordomo-info.html -aeb2fa7b9066dc3b012dc12cbdb296cd6ea39b8191cf4639d1d8740b6dfbcaa0 +bb2c05f4b3befb748a9f6a702cfa4a511022b5677aad8d992e044299afd492c3
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.