diff for duplicates of <20191106190116.2578-9-nramas@linux.microsoft.com> diff --git a/a/1.txt b/N1/1.txt index 9d220e6..f9134f1 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -150,11 +150,12 @@ index 000000000000..fa3d9bf8fcbe + entry = kzalloc(sizeof(*entry), GFP_KERNEL); + if (entry != NULL) { + entry->public_key = kzalloc(pk->keylen, GFP_KERNEL); -+ entry->keyring_name + kzalloc(keyring_name_len, GFP_KERNEL); ++ entry->keyring_name = ++ kzalloc(keyring_name_len, GFP_KERNEL); + } + -+ if ((entry = NULL) || (entry->public_key = NULL) || -+ (entry->keyring_name = NULL)) { ++ if ((entry == NULL) || (entry->public_key == NULL) || ++ (entry->keyring_name == NULL)) { + rc = -ENOMEM; + goto out; + } diff --git a/a/content_digest b/N1/content_digest index 886be26..8300da4 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\020191106190116.2578-1-nramas@linux.microsoft.com\0" "From\0Lakshmi Ramasubramanian <nramas@linux.microsoft.com>\0" "Subject\0[PATCH v4 08/10] IMA: Defined functions to queue and dequeue keys for measurement\0" - "Date\0Wed, 06 Nov 2019 19:01:14 +0000\0" + "Date\0Wed, 6 Nov 2019 11:01:14 -0800\0" "To\0zohar@linux.ibm.com" dhowells@redhat.com matthewgarrett@google.com @@ -165,11 +165,12 @@ "+\tentry = kzalloc(sizeof(*entry), GFP_KERNEL);\n" "+\tif (entry != NULL) {\n" "+\t\tentry->public_key = kzalloc(pk->keylen, GFP_KERNEL);\n" - "+\t\tentry->keyring_name +\t\t\tkzalloc(keyring_name_len, GFP_KERNEL);\n" + "+\t\tentry->keyring_name =\n" + "+\t\t\tkzalloc(keyring_name_len, GFP_KERNEL);\n" "+\t}\n" "+\n" - "+\tif ((entry = NULL) || (entry->public_key = NULL) ||\n" - "+\t (entry->keyring_name = NULL)) {\n" + "+\tif ((entry == NULL) || (entry->public_key == NULL) ||\n" + "+\t (entry->keyring_name == NULL)) {\n" "+\t\trc = -ENOMEM;\n" "+\t\tgoto out;\n" "+\t}\n" @@ -256,4 +257,4 @@ "-- \n" 2.17.1 -fec8918a1adbc3787da8e298ffe4f636e13ba97723d2ba374a32f1f72bec33a6 +5152e7b5861135bee5f2d2195e7b71ecd1e146172aea0bf73b1356c3cc074a8a
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.