diff for duplicates of <20100414125205.23181.15562.stgit@localhost.localdomain> diff --git a/a/1.txt b/N1/1.txt index e34a25d..ebd66d3 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -134,27 +134,27 @@ index 0000000..b71cfa1 + + switch (type) { + case TEMP1: -+ if (temp_ofs == 0) ++ if (temp_ofs = 0) + offset = 1; -+ else if (temp_ofs == 1) ++ else if (temp_ofs = 1) + offset = 0; -+ else if (temp_ofs == 2) ++ else if (temp_ofs = 2) + offset = 8; + break; + case TEMP2: -+ if (temp_ofs == 0) ++ if (temp_ofs = 0) + offset = 3; -+ else if (temp_ofs == 1) ++ else if (temp_ofs = 1) + offset = 2; -+ else if (temp_ofs == 2) ++ else if (temp_ofs = 2) + offset = 6; + break; + case TEMP3: -+ if (temp_ofs == 0) ++ if (temp_ofs = 0) + offset = 5; -+ else if (temp_ofs == 1) ++ else if (temp_ofs = 1) + offset = 4; -+ else if (temp_ofs == 2) ++ else if (temp_ofs = 2) + offset = 7; + break; + default: @@ -177,7 +177,7 @@ index 0000000..b71cfa1 + int ret_offset; + + ret_offset = calculate_offset(temp_index, temp_ofs); -+ if (ret_offset == -1) ++ if (ret_offset = -1) + return -EINVAL; + ret_val = i2c_smbus_read_byte_data(client, + THM_LIMIT_REG_TEMP[ret_offset]); @@ -197,7 +197,7 @@ index 0000000..b71cfa1 + if (strict_strtoul(buf, 10, &val)) + return -EINVAL; + ret_offset = calculate_offset(temp_index, temp_ofs); -+ if (ret_offset == -1) ++ if (ret_offset = -1) + return -EINVAL; + + i2c_smbus_write_byte_data(client, THM_LIMIT_REG_TEMP[ret_offset], val); @@ -287,9 +287,9 @@ index 0000000..b71cfa1 + return -EINVAL; + + curr_val = i2c_smbus_read_byte_data(client, 0x03); -+ if (val == 1) ++ if (val = 1) + curr_val &= 0xBF; -+ else if (val == 0) ++ else if (val = 0) + curr_val |= 0x40; + else + return -EINVAL; @@ -316,9 +316,9 @@ index 0000000..b71cfa1 + return -EINVAL; + + curr_val = i2c_smbus_read_byte_data(client, 0x03); -+ if (val == 1) ++ if (val = 1) + curr_val &= 0x7F; -+ else if (val == 0) ++ else if (val = 0) + curr_val |= 0x80; + else + return -EINVAL; @@ -398,7 +398,7 @@ index 0000000..b71cfa1 + + data = kzalloc(sizeof(struct thermal_data), GFP_KERNEL); + -+ if (data == NULL) { ++ if (data = NULL) { + printk(KERN_WARNING "emc1403: out of memory"); + return -ENOMEM; + } @@ -491,3 +491,14 @@ index 0000000..b71cfa1 +MODULE_AUTHOR("Kalhan Trisal <kalhan.trisal@intel.com"); +MODULE_DESCRIPTION("emc1403 Thermal Driver"); +MODULE_LICENSE("GPL v2"); + +-- +To unsubscribe from this list: send the line "unsubscribe linux-kernel" in +the body of a message to majordomo@vger.kernel.org +More majordomo info at http://vger.kernel.org/majordomo-info.html +Please read the FAQ at http://www.tux.org/lkml/ + +_______________________________________________ +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 fb91883..7a06fb1 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\020100414124913.23181.75903.stgit@localhost.localdomain\0" "From\0Alan Cox <alan@linux.intel.com>\0" - "Subject\0[PATCH 4/4] emc1403: thermal sensor support\0" - "Date\0Wed, 14 Apr 2010 13:52:08 +0100\0" + "Subject\0[lm-sensors] [PATCH 4/4] emc1403: thermal sensor support\0" + "Date\0Wed, 14 Apr 2010 12:52:08 +0000\0" "To\0linux-i2c@vger.kernel.org" khali@linux-fr.org linux-input@vger.kernel.org @@ -144,27 +144,27 @@ "+\n" "+\tswitch (type) {\n" "+\tcase TEMP1:\n" - "+\t\tif (temp_ofs == 0)\n" + "+\t\tif (temp_ofs = 0)\n" "+\t\t\toffset = 1;\n" - "+\t\telse if (temp_ofs == 1)\n" + "+\t\telse if (temp_ofs = 1)\n" "+\t\t\toffset = 0;\n" - "+\t\telse if (temp_ofs == 2)\n" + "+\t\telse if (temp_ofs = 2)\n" "+\t\t\toffset = 8;\n" "+\t\tbreak;\n" "+\tcase TEMP2:\n" - "+\t\tif (temp_ofs == 0)\n" + "+\t\tif (temp_ofs = 0)\n" "+\t\t\toffset = 3;\n" - "+\t\telse if (temp_ofs == 1)\n" + "+\t\telse if (temp_ofs = 1)\n" "+\t\t\toffset = 2;\n" - "+\t\telse if (temp_ofs == 2)\n" + "+\t\telse if (temp_ofs = 2)\n" "+\t\t\toffset = 6;\n" "+\t\tbreak;\n" "+\tcase TEMP3:\n" - "+\t\tif (temp_ofs == 0)\n" + "+\t\tif (temp_ofs = 0)\n" "+\t\t\toffset = 5;\n" - "+\t\telse if (temp_ofs == 1)\n" + "+\t\telse if (temp_ofs = 1)\n" "+\t\t\toffset = 4;\n" - "+\t\telse if (temp_ofs == 2)\n" + "+\t\telse if (temp_ofs = 2)\n" "+\t\t\toffset = 7;\n" "+\t\tbreak;\n" "+\tdefault:\n" @@ -187,7 +187,7 @@ "+\tint ret_offset;\n" "+\n" "+\tret_offset = calculate_offset(temp_index, temp_ofs);\n" - "+\tif (ret_offset == -1)\n" + "+\tif (ret_offset = -1)\n" "+\t\treturn -EINVAL;\n" "+\tret_val = i2c_smbus_read_byte_data(client,\n" "+\t\t\t\tTHM_LIMIT_REG_TEMP[ret_offset]);\n" @@ -207,7 +207,7 @@ "+\tif (strict_strtoul(buf, 10, &val))\n" "+\t\treturn -EINVAL;\n" "+\tret_offset = calculate_offset(temp_index, temp_ofs);\n" - "+\tif (ret_offset == -1)\n" + "+\tif (ret_offset = -1)\n" "+\t\treturn -EINVAL;\n" "+\n" "+\ti2c_smbus_write_byte_data(client, THM_LIMIT_REG_TEMP[ret_offset], val);\n" @@ -297,9 +297,9 @@ "+\t\treturn -EINVAL;\n" "+\n" "+\tcurr_val = i2c_smbus_read_byte_data(client, 0x03);\n" - "+\tif (val == 1)\n" + "+\tif (val = 1)\n" "+\t\tcurr_val &= 0xBF;\n" - "+\telse if (val == 0)\n" + "+\telse if (val = 0)\n" "+\t\tcurr_val |= 0x40;\n" "+\telse\n" "+\t\treturn -EINVAL;\n" @@ -326,9 +326,9 @@ "+\t\treturn -EINVAL;\n" "+\n" "+\tcurr_val = i2c_smbus_read_byte_data(client, 0x03);\n" - "+\tif (val == 1)\n" + "+\tif (val = 1)\n" "+\t\tcurr_val &= 0x7F;\n" - "+\telse if (val == 0)\n" + "+\telse if (val = 0)\n" "+\t\tcurr_val |= 0x80;\n" "+\telse\n" "+\t\treturn -EINVAL;\n" @@ -408,7 +408,7 @@ "+\n" "+\tdata = kzalloc(sizeof(struct thermal_data), GFP_KERNEL);\n" "+\n" - "+\tif (data == NULL) {\n" + "+\tif (data = NULL) {\n" "+\t\tprintk(KERN_WARNING \"emc1403: out of memory\");\n" "+\t\treturn -ENOMEM;\n" "+\t}\n" @@ -500,6 +500,17 @@ "+\n" "+MODULE_AUTHOR(\"Kalhan Trisal <kalhan.trisal@intel.com\");\n" "+MODULE_DESCRIPTION(\"emc1403 Thermal Driver\");\n" - "+MODULE_LICENSE(\"GPL v2\");" + "+MODULE_LICENSE(\"GPL v2\");\n" + "\n" + "--\n" + "To unsubscribe from this list: send the line \"unsubscribe linux-kernel\" in\n" + "the body of a message to majordomo@vger.kernel.org\n" + "More majordomo info at http://vger.kernel.org/majordomo-info.html\n" + "Please read the FAQ at http://www.tux.org/lkml/\n" + "\n" + "_______________________________________________\n" + "lm-sensors mailing list\n" + "lm-sensors@lm-sensors.org\n" + http://lists.lm-sensors.org/mailman/listinfo/lm-sensors -03643c8dbb526f6d242b3c92bf1d032781276548039af7c1840003070f156c88 +f208e05e23e6da6ae19d4b40fc5ee80b8a7d431b894d31b5ae5f77d924d39f72
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.