diff for duplicates of <20210706082400.36996-2-psampat@linux.ibm.com>
diff --git a/a/1.txt b/N1/1.txt
index 9298a11..aae893d 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -260,7 +260,7 @@ index 000000000000..117801bd7e76
+ int idx, ret = 0;
+
+ for (idx = 0; idx < be64_to_cpu(esi_hdr->num_attrs); idx++) {
-+ if (pattr->id == be64_to_cpu(esi_attrs[idx].id)) {
++ if (pattr->id = be64_to_cpu(esi_attrs[idx].id)) {
+ ret = sprintf(buf, "%s\n", esi_attrs[idx].desc);
+ if (ret < 0)
+ ret = -EIO;
@@ -286,7 +286,7 @@ index 000000000000..117801bd7e76
+ int ret = 0;
+
+ t_buf = kmalloc(MAX_BUF_SZ, GFP_KERNEL);
-+ if (t_buf == NULL)
++ if (t_buf = NULL)
+ return -ENOMEM;
+
+ ret = plpar_hcall_norets(H_GET_ENERGY_SCALE_INFO, ESI_FLAGS_SINGLE,
@@ -327,7 +327,7 @@ index 000000000000..117801bd7e76
+ int ret = 0;
+
+ t_buf = kmalloc(MAX_BUF_SZ, GFP_KERNEL);
-+ if (t_buf == NULL)
++ if (t_buf = NULL)
+ return -ENOMEM;
+
+ ret = plpar_hcall_norets(H_GET_ENERGY_SCALE_INFO, ESI_FLAGS_SINGLE,
@@ -398,7 +398,7 @@ index 000000000000..117801bd7e76
+ return -ENXIO;
+
+ esi_buf = kmalloc(MAX_BUF_SZ, GFP_KERNEL);
-+ if (esi_buf == NULL)
++ if (esi_buf = NULL)
+ return -ENOMEM;
+ /*
+ * hcall(
@@ -462,7 +462,7 @@ index 000000000000..117801bd7e76
+ pgs[idx].pg.name = buf;
+
+ /* Do not add the value description if it does not exist */
-+ if (strlen(esi_attrs[idx].value_desc) == 0)
++ if (strlen(esi_attrs[idx].value_desc) = 0)
+ show_val_desc = false;
+
+ if (add_attr_group(be64_to_cpu(esi_attrs[idx].id),
diff --git a/a/content_digest b/N1/content_digest
index 97237f2..e5eb702 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -8,7 +8,7 @@
"Subject\0[PATCH v2 1/1] powerpc/pseries: Interface to represent PAPR firmware attributes\0"
]
[
- "Date\0Tue, 6 Jul 2021 13:54:00 +0530\0"
+ "Date\0Tue, 06 Jul 2021 08:36:00 +0000\0"
]
[
"To\0mpe\@ellerman.id.au",
@@ -289,7 +289,7 @@
"+\tint idx, ret = 0;\n",
"+\n",
"+\tfor (idx = 0; idx < be64_to_cpu(esi_hdr->num_attrs); idx++) {\n",
- "+\t\tif (pattr->id == be64_to_cpu(esi_attrs[idx].id)) {\n",
+ "+\t\tif (pattr->id = be64_to_cpu(esi_attrs[idx].id)) {\n",
"+\t\t\tret = sprintf(buf, \"%s\\n\", esi_attrs[idx].desc);\n",
"+\t\t\tif (ret < 0)\n",
"+\t\t\t\tret = -EIO;\n",
@@ -315,7 +315,7 @@
"+\tint ret = 0;\n",
"+\n",
"+\tt_buf = kmalloc(MAX_BUF_SZ, GFP_KERNEL);\n",
- "+\tif (t_buf == NULL)\n",
+ "+\tif (t_buf = NULL)\n",
"+\t\treturn -ENOMEM;\n",
"+\n",
"+\tret = plpar_hcall_norets(H_GET_ENERGY_SCALE_INFO, ESI_FLAGS_SINGLE,\n",
@@ -356,7 +356,7 @@
"+\tint ret = 0;\n",
"+\n",
"+\tt_buf = kmalloc(MAX_BUF_SZ, GFP_KERNEL);\n",
- "+\tif (t_buf == NULL)\n",
+ "+\tif (t_buf = NULL)\n",
"+\t\treturn -ENOMEM;\n",
"+\n",
"+\tret = plpar_hcall_norets(H_GET_ENERGY_SCALE_INFO, ESI_FLAGS_SINGLE,\n",
@@ -427,7 +427,7 @@
"+\t\treturn -ENXIO;\n",
"+\n",
"+\tesi_buf = kmalloc(MAX_BUF_SZ, GFP_KERNEL);\n",
- "+\tif (esi_buf == NULL)\n",
+ "+\tif (esi_buf = NULL)\n",
"+\t\treturn -ENOMEM;\n",
"+\t/*\n",
"+\t * hcall(\n",
@@ -491,7 +491,7 @@
"+\t\tpgs[idx].pg.name = buf;\n",
"+\n",
"+\t\t/* Do not add the value description if it does not exist */\n",
- "+\t\tif (strlen(esi_attrs[idx].value_desc) == 0)\n",
+ "+\t\tif (strlen(esi_attrs[idx].value_desc) = 0)\n",
"+\t\t\tshow_val_desc = false;\n",
"+\n",
"+\t\tif (add_attr_group(be64_to_cpu(esi_attrs[idx].id),\n",
@@ -526,4 +526,4 @@
"2.31.1"
]
-2a73e5ea14270e16888354889c5e6c55ed55cd64488f8f4b0cb084c950992066
+69aef1e48a449caad25c5515ab3c3c553211341a9dae83c20ee3a5f3e23eb8dc
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.