diff for duplicates of <4CD3C1A8.5050305@euromail.se> diff --git a/a/1.txt b/N1/1.txt index ff7976f..51aaafc 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -18,14 +18,14 @@ >> >> - temp = buffer[0]*1000; >> - temp += (buffer[1] >> 6) * 250; ->> + if (entry.len = 2) { +>> + if (entry.len == 2) { >> + temp = buffer[0]*1000; >> + temp += (buffer[1] >> 6) * 250; >> + } else { >> + temp = buffer[0] * 4000; >> + } > -> Another comment - in the next patch, you check for entry.len = 0. +> Another comment - in the next patch, you check for entry.len == 0. > If that can happen, you would need to check it here as well. @@ -35,8 +35,3 @@ be seen in a few places. Thanks, Henrik - -_______________________________________________ -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 fe8f566..413e0b1 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -2,8 +2,8 @@ "ref\01288511434-5662-5-git-send-email-rydberg@euromail.se\0" "ref\020101105023525.GC28308@ericsson.com\0" "From\0Henrik Rydberg <rydberg@euromail.se>\0" - "Subject\0Re: [lm-sensors] [PATCH 4/8] hwmon: applesmc: Handle new\0" - "Date\0Fri, 05 Nov 2010 08:34:48 +0000\0" + "Subject\0Re: [lm-sensors] [PATCH 4/8] hwmon: applesmc: Handle new temperature format\0" + "Date\0Fri, 05 Nov 2010 09:34:48 +0100\0" "To\0Guenter Roeck <guenter.roeck@ericsson.com>\0" "Cc\0Jean Delvare <khali@linux-fr.org>" linux-kernel@vger.kernel.org <linux-kernel@vger.kernel.org> @@ -30,14 +30,14 @@ ">> \n" ">> -\ttemp = buffer[0]*1000;\n" ">> -\ttemp += (buffer[1] >> 6) * 250;\n" - ">> +\tif (entry.len = 2) {\n" + ">> +\tif (entry.len == 2) {\n" ">> +\t\ttemp = buffer[0]*1000;\n" ">> +\t\ttemp += (buffer[1] >> 6) * 250;\n" ">> +\t} else {\n" ">> +\t\ttemp = buffer[0] * 4000;\n" ">> +\t}\n" "> \n" - "> Another comment - in the next patch, you check for entry.len = 0.\n" + "> Another comment - in the next patch, you check for entry.len == 0.\n" "> If that can happen, you would need to check it here as well.\n" "\n" "\n" @@ -46,11 +46,6 @@ "be seen in a few places.\n" "\n" "Thanks,\n" - "Henrik\n" - "\n" - "_______________________________________________\n" - "lm-sensors mailing list\n" - "lm-sensors@lm-sensors.org\n" - http://lists.lm-sensors.org/mailman/listinfo/lm-sensors + Henrik -bcfaca8a74c9ced2ff9afa9eb84492b036288b2d3317aaab5997ca370535b1f1 +85f8bf7f4f39a34e06470800f69ef5c02e92069a70132e939bd4590c3fec39d1
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.