diff for duplicates of <5237FEEF.9050308@nvidia.com> diff --git a/a/1.txt b/N1/1.txt index 835a7b4..e578321 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -8,7 +8,7 @@ On 09/17/2013 03:29 AM, Jean Delvare wrote: >> and write_tempx, then set_temp8 and set_temp11 could return it >> to user-space. >> ->> Signed-off-by: Wei Ni <wni-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> +>> Signed-off-by: Wei Ni <wni@nvidia.com> >> --- >> drivers/hwmon/lm90.c | 150 +++++++++++++++++++++++++++++++++----------------- >> 1 file changed, 99 insertions(+), 51 deletions(-) @@ -36,7 +36,7 @@ Got it, I will change it. > >> ->> if (data->kind == max6696) { +>> if (data->kind = max6696) { >> lm90_read_reg(client, LM90_REG_R_CONFIG1, &config); >> config &= ~0x08; >> if (channel) @@ -72,10 +72,10 @@ Got it, I will change it. >> struct lm90_data *data = lm90_update_device(dev); >> int temp; >> ->> if (data->kind == adt7461) +>> if (data->kind = adt7461) >> - temp = temp_from_u8_adt7461(data, data->temp8[attr->index]); >> + temp = temp_from_u8_adt7461(data, data->temp8[index]); ->> else if (data->kind == max6646) +>> else if (data->kind = max6646) >> - temp = temp_from_u8(data->temp8[attr->index]); >> + temp = temp_from_u8(data->temp8[index]); >> else @@ -83,8 +83,8 @@ Got it, I will change it. >> + temp = temp_from_s8(data->temp8[index]); >> >> /* +16 degrees offset for temp2 for the LM99 */ ->> - if (data->kind == lm99 && attr->index == 3) ->> + if (data->kind == lm99 && index == 3) +>> - if (data->kind = lm99 && attr->index = 3) +>> + if (data->kind = lm99 && index = 3) >> temp += 16000; >> >> - return sprintf(buf, "%d\n", temp); @@ -121,15 +121,15 @@ Got it, I will change it. >> - return err; >> - >> /* +16 degrees offset for temp2 for the LM99 */ ->> - if (data->kind == lm99 && attr->index == 3) ->> + if (data->kind == lm99 && index == 3) +>> - if (data->kind = lm99 && attr->index = 3) +>> + if (data->kind = lm99 && index = 3) >> val -= 16000; >> >> mutex_lock(&data->update_lock); ->> if (data->kind == adt7461) +>> if (data->kind = adt7461) >> - data->temp8[nr] = temp_to_u8_adt7461(data, val); >> + data->temp8[index] = temp_to_u8_adt7461(data, val); ->> else if (data->kind == max6646) +>> else if (data->kind = max6646) >> - data->temp8[nr] = temp_to_u8(val); >> + data->temp8[index] = temp_to_u8(val); >> else @@ -199,10 +199,10 @@ Ok, I will do it. >> struct lm90_data *data = lm90_update_device(dev); >> int temp; >> ->> if (data->kind == adt7461) +>> if (data->kind = adt7461) >> - temp = temp_from_u16_adt7461(data, data->temp11[attr->index]); >> + temp = temp_from_u16_adt7461(data, data->temp11[index]); ->> else if (data->kind == max6646) +>> else if (data->kind = max6646) >> - temp = temp_from_u16(data->temp11[attr->index]); >> + temp = temp_from_u16(data->temp11[index]); >> else @@ -210,8 +210,8 @@ Ok, I will do it. >> + temp = temp_from_s16(data->temp11[index]); >> >> /* +16 degrees offset for temp2 for the LM99 */ ->> - if (data->kind == lm99 && attr->index <= 2) ->> + if (data->kind == lm99 && index <= 2) +>> - if (data->kind = lm99 && attr->index <= 2) +>> + if (data->kind = lm99 && index <= 2) >> temp += 16000; >> >> - return sprintf(buf, "%d\n", temp); @@ -249,7 +249,7 @@ Ok, I will do it. >> - return err; >> - >> /* +16 degrees offset for temp2 for the LM99 */ ->> if (data->kind == lm99 && index <= 2) +>> if (data->kind = lm99 && index <= 2) >> val -= 16000; >> @@ -830,15 +855,38 @@ static ssize_t set_temp11(struct device *dev, struct device_attribute *devattr, >> else @@ -308,6 +308,12 @@ Oh, you reviewed so carefully, thanks. > Jean Delvare > -- > To unsubscribe from this list: send the line "unsubscribe linux-tegra" in -> the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org +> the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -> +> + + +_______________________________________________ +lm-sensors mailing list +lm-sensors@lm-sensors.org +http://lists.lm-sensors.org/mailman/listinfo/lm-sensors diff --git a/a/content_digest b/N1/content_digest index 2d1807c..f467027 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,9 +1,9 @@ "ref\01375785417-13650-1-git-send-email-wni@nvidia.com\0" "ref\020130916212908.25248fae@endymion.delvare\0" "ref\020130916212908.25248fae-R0o5gVi9kd7kN2dkZ6Wm7A@public.gmane.org\0" - "From\0Wei Ni <wni-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>\0" - "Subject\0Re: [PATCH RESEND v4] hwmon: (lm90) split set&show temp as common codes\0" - "Date\0Tue, 17 Sep 2013 15:04:15 +0800\0" + "From\0Wei Ni <wni@nvidia.com>\0" + "Subject\0Re: [lm-sensors] [PATCH RESEND v4] hwmon: (lm90) split set&show temp as common codes\0" + "Date\0Tue, 17 Sep 2013 07:04:15 +0000\0" "To\0Jean Delvare <khali-PUYAD+kWke1g9hUCZPvPmw@public.gmane.org>\0" "Cc\0linux-0h96xk9xTtrk1uMJSBkQmQ@public.gmane.org <linux-0h96xk9xTtrk1uMJSBkQmQ@public.gmane.org>" lm-sensors-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org <lm-sensors-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org> @@ -21,7 +21,7 @@ ">> and write_tempx, then set_temp8 and set_temp11 could return it\n" ">> to user-space.\n" ">>\n" - ">> Signed-off-by: Wei Ni <wni-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>\n" + ">> Signed-off-by: Wei Ni <wni@nvidia.com>\n" ">> ---\n" ">> drivers/hwmon/lm90.c | 150 +++++++++++++++++++++++++++++++++-----------------\n" ">> 1 file changed, 99 insertions(+), 51 deletions(-)\n" @@ -49,7 +49,7 @@ "\n" "> \n" ">>\n" - ">> if (data->kind == max6696) {\n" + ">> if (data->kind = max6696) {\n" ">> lm90_read_reg(client, LM90_REG_R_CONFIG1, &config);\n" ">> config &= ~0x08;\n" ">> if (channel)\n" @@ -85,10 +85,10 @@ ">> struct lm90_data *data = lm90_update_device(dev);\n" ">> int temp;\n" ">>\n" - ">> if (data->kind == adt7461)\n" + ">> if (data->kind = adt7461)\n" ">> - temp = temp_from_u8_adt7461(data, data->temp8[attr->index]);\n" ">> + temp = temp_from_u8_adt7461(data, data->temp8[index]);\n" - ">> else if (data->kind == max6646)\n" + ">> else if (data->kind = max6646)\n" ">> - temp = temp_from_u8(data->temp8[attr->index]);\n" ">> + temp = temp_from_u8(data->temp8[index]);\n" ">> else\n" @@ -96,8 +96,8 @@ ">> + temp = temp_from_s8(data->temp8[index]);\n" ">>\n" ">> /* +16 degrees offset for temp2 for the LM99 */\n" - ">> - if (data->kind == lm99 && attr->index == 3)\n" - ">> + if (data->kind == lm99 && index == 3)\n" + ">> - if (data->kind = lm99 && attr->index = 3)\n" + ">> + if (data->kind = lm99 && index = 3)\n" ">> temp += 16000;\n" ">>\n" ">> - return sprintf(buf, \"%d\\n\", temp);\n" @@ -134,15 +134,15 @@ ">> - return err;\n" ">> -\n" ">> /* +16 degrees offset for temp2 for the LM99 */\n" - ">> - if (data->kind == lm99 && attr->index == 3)\n" - ">> + if (data->kind == lm99 && index == 3)\n" + ">> - if (data->kind = lm99 && attr->index = 3)\n" + ">> + if (data->kind = lm99 && index = 3)\n" ">> val -= 16000;\n" ">>\n" ">> mutex_lock(&data->update_lock);\n" - ">> if (data->kind == adt7461)\n" + ">> if (data->kind = adt7461)\n" ">> - data->temp8[nr] = temp_to_u8_adt7461(data, val);\n" ">> + data->temp8[index] = temp_to_u8_adt7461(data, val);\n" - ">> else if (data->kind == max6646)\n" + ">> else if (data->kind = max6646)\n" ">> - data->temp8[nr] = temp_to_u8(val);\n" ">> + data->temp8[index] = temp_to_u8(val);\n" ">> else\n" @@ -212,10 +212,10 @@ ">> struct lm90_data *data = lm90_update_device(dev);\n" ">> int temp;\n" ">>\n" - ">> if (data->kind == adt7461)\n" + ">> if (data->kind = adt7461)\n" ">> - temp = temp_from_u16_adt7461(data, data->temp11[attr->index]);\n" ">> + temp = temp_from_u16_adt7461(data, data->temp11[index]);\n" - ">> else if (data->kind == max6646)\n" + ">> else if (data->kind = max6646)\n" ">> - temp = temp_from_u16(data->temp11[attr->index]);\n" ">> + temp = temp_from_u16(data->temp11[index]);\n" ">> else\n" @@ -223,8 +223,8 @@ ">> + temp = temp_from_s16(data->temp11[index]);\n" ">>\n" ">> /* +16 degrees offset for temp2 for the LM99 */\n" - ">> - if (data->kind == lm99 && attr->index <= 2)\n" - ">> + if (data->kind == lm99 && index <= 2)\n" + ">> - if (data->kind = lm99 && attr->index <= 2)\n" + ">> + if (data->kind = lm99 && index <= 2)\n" ">> temp += 16000;\n" ">>\n" ">> - return sprintf(buf, \"%d\\n\", temp);\n" @@ -262,7 +262,7 @@ ">> - return err;\n" ">> -\n" ">> /* +16 degrees offset for temp2 for the LM99 */\n" - ">> if (data->kind == lm99 && index <= 2)\n" + ">> if (data->kind = lm99 && index <= 2)\n" ">> val -= 16000;\n" ">> @@ -830,15 +855,38 @@ static ssize_t set_temp11(struct device *dev, struct device_attribute *devattr,\n" ">> else\n" @@ -321,8 +321,14 @@ "> Jean Delvare\n" "> --\n" "> To unsubscribe from this list: send the line \"unsubscribe linux-tegra\" in\n" - "> the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org\n" + "> the body of a message to majordomo@vger.kernel.org\n" "> More majordomo info at http://vger.kernel.org/majordomo-info.html\n" - > + "> \n" + "\n" + "\n" + "_______________________________________________\n" + "lm-sensors mailing list\n" + "lm-sensors@lm-sensors.org\n" + http://lists.lm-sensors.org/mailman/listinfo/lm-sensors -e90309ea0ef1a7fc545f0fa7a54dd4077a5581f7ddddbd9615317ce1f9cb010e +5f88ee87e49cd8a5a90b6343340664efc8c7a3ff8d5d8c60ea0a7ae72ab37c61
diff --git a/a/1.txt b/N2/1.txt index 835a7b4..c96de0a 100644 --- a/a/1.txt +++ b/N2/1.txt @@ -8,7 +8,7 @@ On 09/17/2013 03:29 AM, Jean Delvare wrote: >> and write_tempx, then set_temp8 and set_temp11 could return it >> to user-space. >> ->> Signed-off-by: Wei Ni <wni-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> +>> Signed-off-by: Wei Ni <wni@nvidia.com> >> --- >> drivers/hwmon/lm90.c | 150 +++++++++++++++++++++++++++++++++----------------- >> 1 file changed, 99 insertions(+), 51 deletions(-) @@ -308,6 +308,6 @@ Oh, you reviewed so carefully, thanks. > Jean Delvare > -- > To unsubscribe from this list: send the line "unsubscribe linux-tegra" in -> the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org +> the body of a message to majordomo@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 2d1807c..e43368c 100644 --- a/a/content_digest +++ b/N2/content_digest @@ -1,14 +1,13 @@ "ref\01375785417-13650-1-git-send-email-wni@nvidia.com\0" "ref\020130916212908.25248fae@endymion.delvare\0" - "ref\020130916212908.25248fae-R0o5gVi9kd7kN2dkZ6Wm7A@public.gmane.org\0" - "From\0Wei Ni <wni-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>\0" + "From\0Wei Ni <wni@nvidia.com>\0" "Subject\0Re: [PATCH RESEND v4] hwmon: (lm90) split set&show temp as common codes\0" "Date\0Tue, 17 Sep 2013 15:04:15 +0800\0" - "To\0Jean Delvare <khali-PUYAD+kWke1g9hUCZPvPmw@public.gmane.org>\0" - "Cc\0linux-0h96xk9xTtrk1uMJSBkQmQ@public.gmane.org <linux-0h96xk9xTtrk1uMJSBkQmQ@public.gmane.org>" - lm-sensors-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org <lm-sensors-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org> - linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org <linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org> - " linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org <linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>\0" + "To\0Jean Delvare <khali@linux-fr.org>\0" + "Cc\0linux@roeck-us.net <linux@roeck-us.net>" + lm-sensors@lm-sensors.org <lm-sensors@lm-sensors.org> + linux-kernel@vger.kernel.org <linux-kernel@vger.kernel.org> + " linux-tegra@vger.kernel.org <linux-tegra@vger.kernel.org>\0" "\00:1\0" "b\0" "On 09/17/2013 03:29 AM, Jean Delvare wrote:\n" @@ -21,7 +20,7 @@ ">> and write_tempx, then set_temp8 and set_temp11 could return it\n" ">> to user-space.\n" ">>\n" - ">> Signed-off-by: Wei Ni <wni-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>\n" + ">> Signed-off-by: Wei Ni <wni@nvidia.com>\n" ">> ---\n" ">> drivers/hwmon/lm90.c | 150 +++++++++++++++++++++++++++++++++-----------------\n" ">> 1 file changed, 99 insertions(+), 51 deletions(-)\n" @@ -321,8 +320,8 @@ "> Jean Delvare\n" "> --\n" "> To unsubscribe from this list: send the line \"unsubscribe linux-tegra\" in\n" - "> the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org\n" + "> the body of a message to majordomo@vger.kernel.org\n" "> More majordomo info at http://vger.kernel.org/majordomo-info.html\n" > -e90309ea0ef1a7fc545f0fa7a54dd4077a5581f7ddddbd9615317ce1f9cb010e +fa5928c8a95cd5e5e8ddb46762ca2458252d5a05a9e994f9406af0c13c589a7d
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.