diff for duplicates of <20171024185208.GD1806@obsidianresearch.com> diff --git a/a/1.txt b/N1/1.txt index 59d3768..609e73d 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -9,7 +9,7 @@ change instead: -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 9652b68..b20dcfa 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\020171023123817.18559-1-jarkko.sakkinen@linux.intel.com\0" "From\0Jason Gunthorpe <jgunthorpe@obsidianresearch.com>\0" "Subject\0Re: [PATCH] tpm: remove chip_num parameter from in-kernel API\0" - "Date\0Tue, 24 Oct 2017 18:52:08 +0000\0" + "Date\0Tue, 24 Oct 2017 12:52:08 -0600\0" "To\0Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>\0" "Cc\0linux-integrity@vger.kernel.org" linux-security-module@vger.kernel.org @@ -31,7 +31,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" @@ -42,4 +42,4 @@ "\n" Jason -07d4d69805bea0bd7cb162bd451797ba97a14f0258b33439515385f88bfc86d6 +215acbdab51dae89cc6649d08497998ec60acef2ed6c6aae156b959a6ff2d5e1
diff --git a/a/1.txt b/N2/1.txt index 59d3768..60d1da6 100644 --- a/a/1.txt +++ b/N2/1.txt @@ -9,7 +9,7 @@ change instead: -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 @@ -19,3 +19,7 @@ This gets us much closer to the desired API with about the same amount of churn as this patch has. Jason +-- +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 9652b68..9e2fdbc 100644 --- a/a/content_digest +++ b/N2/content_digest @@ -1,23 +1,8 @@ "ref\020171023123817.18559-1-jarkko.sakkinen@linux.intel.com\0" - "From\0Jason Gunthorpe <jgunthorpe@obsidianresearch.com>\0" - "Subject\0Re: [PATCH] tpm: remove chip_num parameter from in-kernel API\0" - "Date\0Tue, 24 Oct 2017 18:52:08 +0000\0" - "To\0Jarkko Sakkinen <jarkko.sakkinen@linux.intel.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\0jgunthorpe@obsidianresearch.com (Jason Gunthorpe)\0" + "Subject\0[PATCH] tpm: remove chip_num parameter from in-kernel API\0" + "Date\0Tue, 24 Oct 2017 12:52:08 -0600\0" + "To\0linux-security-module@vger.kernel.org\0" "\00:1\0" "b\0" "On Mon, Oct 23, 2017 at 02:38:14PM +0200, Jarkko Sakkinen wrote:\n" @@ -31,7 +16,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" @@ -40,6 +25,10 @@ "This gets us much closer to the desired API with about the same amount\n" "of churn as this patch has.\n" "\n" - Jason + "Jason\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 -07d4d69805bea0bd7cb162bd451797ba97a14f0258b33439515385f88bfc86d6 +27096ebd06627782a753a2729784fd110fe7882d5d29f9c1c6fe71ab8e7b2d57
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.