diff for duplicates of <20210618090208.GA17177@in.ibm.com> diff --git a/a/1.txt b/N1/1.txt index 9b8dec4..bc28c41 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -55,7 +55,7 @@ all the attributes beginning with firstAttributeId. > + int data_offset, ret = 0; > + > + t_buf = kmalloc(sizeof(*t_buf), GFP_KERNEL); -> + if (t_buf = NULL) +> + if (t_buf == NULL) > + return -ENOMEM; > + > + ret = plpar_hcall_norets(H_GET_ENERGY_SCALE_INFO, 0, @@ -111,7 +111,7 @@ gautham. > + int data_offset, ret = 0; > + > + t_buf = kmalloc(sizeof(*t_buf), GFP_KERNEL); -> + if (t_buf = NULL) +> + if (t_buf == NULL) > + return -ENOMEM; > + > + ret = plpar_hcall_norets(H_GET_ENERGY_SCALE_INFO, 0, @@ -182,7 +182,7 @@ gautham. > + int ret, idx, i, data_offset; > + > + em_buf = kmalloc(sizeof(*em_buf), GFP_KERNEL); -> + if (em_buf = NULL) +> + if (em_buf == NULL) > + return -ENOMEM; > + /* > + * hcall( @@ -252,7 +252,7 @@ gautham. > + pgs[idx].pg.name = buf; > + > + /* Do not add the value description if it does not exist */ -> + if (strlen(ea[idx].attr_value_desc) = 0) +> + if (strlen(ea[idx].attr_value_desc) == 0) > + show_val_desc = false; > + > + if (add_attr_group(be64_to_cpu(ea[idx].attr_id), diff --git a/a/content_digest b/N1/content_digest index 67727e7..085ffbd 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -2,15 +2,13 @@ "ref\020210616134240.62195-2-psampat@linux.ibm.com\0" "From\0Gautham R Shenoy <ego@linux.vnet.ibm.com>\0" "Subject\0Re: [PATCH 1/1] powerpc/pseries: Interface to represent PAPR firmware attributes\0" - "Date\0Fri, 18 Jun 2021 09:14:08 +0000\0" + "Date\0Fri, 18 Jun 2021 14:32:08 +0530\0" "To\0Pratik R. Sampat <psampat@linux.ibm.com>\0" - "Cc\0mpe@ellerman.id.au" - benh@kernel.crashing.org - paulus@samba.org - linuxppc-dev@lists.ozlabs.org - kvm-ppc@vger.kernel.org + "Cc\0pratik.r.sampat@gmail.com" linux-kernel@vger.kernel.org - " pratik.r.sampat@gmail.com\0" + kvm-ppc@vger.kernel.org + paulus@samba.org + " linuxppc-dev@lists.ozlabs.org\0" "\00:1\0" "b\0" "On Wed, Jun 16, 2021 at 07:12:40PM +0530, Pratik R. Sampat wrote:\n" @@ -70,7 +68,7 @@ "> +\tint data_offset, ret = 0;\n" "> +\n" "> +\tt_buf = kmalloc(sizeof(*t_buf), 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, 0,\n" @@ -126,7 +124,7 @@ "> +\tint data_offset, ret = 0;\n" "> +\n" "> +\tt_buf = kmalloc(sizeof(*t_buf), 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, 0,\n" @@ -197,7 +195,7 @@ "> +\tint ret, idx, i, data_offset;\n" "> +\n" "> +\tem_buf = kmalloc(sizeof(*em_buf), GFP_KERNEL);\n" - "> +\tif (em_buf = NULL)\n" + "> +\tif (em_buf == NULL)\n" "> +\t\treturn -ENOMEM;\n" "> +\t/*\n" "> +\t * hcall(\n" @@ -267,7 +265,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(ea[idx].attr_value_desc) = 0)\n" + "> +\t\tif (strlen(ea[idx].attr_value_desc) == 0)\n" "> +\t\t\tshow_val_desc = false;\n" "> +\n" "> +\t\tif (add_attr_group(be64_to_cpu(ea[idx].attr_id),\n" @@ -302,4 +300,4 @@ "> 2.30.2\n" > -47292a9b9230882f09ed5e498694a3b8375a77e99d8359921ad9452ee20da008 +8438a3029f66fc6eb855d02ceda79f0f71d1c82673e159fa1a60a1dd6e1cf2fb
diff --git a/a/1.txt b/N2/1.txt index 9b8dec4..bc28c41 100644 --- a/a/1.txt +++ b/N2/1.txt @@ -55,7 +55,7 @@ all the attributes beginning with firstAttributeId. > + int data_offset, ret = 0; > + > + t_buf = kmalloc(sizeof(*t_buf), GFP_KERNEL); -> + if (t_buf = NULL) +> + if (t_buf == NULL) > + return -ENOMEM; > + > + ret = plpar_hcall_norets(H_GET_ENERGY_SCALE_INFO, 0, @@ -111,7 +111,7 @@ gautham. > + int data_offset, ret = 0; > + > + t_buf = kmalloc(sizeof(*t_buf), GFP_KERNEL); -> + if (t_buf = NULL) +> + if (t_buf == NULL) > + return -ENOMEM; > + > + ret = plpar_hcall_norets(H_GET_ENERGY_SCALE_INFO, 0, @@ -182,7 +182,7 @@ gautham. > + int ret, idx, i, data_offset; > + > + em_buf = kmalloc(sizeof(*em_buf), GFP_KERNEL); -> + if (em_buf = NULL) +> + if (em_buf == NULL) > + return -ENOMEM; > + /* > + * hcall( @@ -252,7 +252,7 @@ gautham. > + pgs[idx].pg.name = buf; > + > + /* Do not add the value description if it does not exist */ -> + if (strlen(ea[idx].attr_value_desc) = 0) +> + if (strlen(ea[idx].attr_value_desc) == 0) > + show_val_desc = false; > + > + if (add_attr_group(be64_to_cpu(ea[idx].attr_id), diff --git a/a/content_digest b/N2/content_digest index 67727e7..fc14489 100644 --- a/a/content_digest +++ b/N2/content_digest @@ -2,7 +2,7 @@ "ref\020210616134240.62195-2-psampat@linux.ibm.com\0" "From\0Gautham R Shenoy <ego@linux.vnet.ibm.com>\0" "Subject\0Re: [PATCH 1/1] powerpc/pseries: Interface to represent PAPR firmware attributes\0" - "Date\0Fri, 18 Jun 2021 09:14:08 +0000\0" + "Date\0Fri, 18 Jun 2021 14:32:08 +0530\0" "To\0Pratik R. Sampat <psampat@linux.ibm.com>\0" "Cc\0mpe@ellerman.id.au" benh@kernel.crashing.org @@ -70,7 +70,7 @@ "> +\tint data_offset, ret = 0;\n" "> +\n" "> +\tt_buf = kmalloc(sizeof(*t_buf), 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, 0,\n" @@ -126,7 +126,7 @@ "> +\tint data_offset, ret = 0;\n" "> +\n" "> +\tt_buf = kmalloc(sizeof(*t_buf), 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, 0,\n" @@ -197,7 +197,7 @@ "> +\tint ret, idx, i, data_offset;\n" "> +\n" "> +\tem_buf = kmalloc(sizeof(*em_buf), GFP_KERNEL);\n" - "> +\tif (em_buf = NULL)\n" + "> +\tif (em_buf == NULL)\n" "> +\t\treturn -ENOMEM;\n" "> +\t/*\n" "> +\t * hcall(\n" @@ -267,7 +267,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(ea[idx].attr_value_desc) = 0)\n" + "> +\t\tif (strlen(ea[idx].attr_value_desc) == 0)\n" "> +\t\t\tshow_val_desc = false;\n" "> +\n" "> +\t\tif (add_attr_group(be64_to_cpu(ea[idx].attr_id),\n" @@ -302,4 +302,4 @@ "> 2.30.2\n" > -47292a9b9230882f09ed5e498694a3b8375a77e99d8359921ad9452ee20da008 +d0b0a94555948ac64b0313f8346eda89cbd2702af6455e9c42294351acd0ab15
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.