diff for duplicates of <10525245943373@kroah.com> diff --git a/a/1.txt b/N1/1.txt index e002e2e..9b9dad6 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -42,11 +42,11 @@ diff -Nru a/drivers/i2c/chips/it87.c b/drivers/i2c/chips/it87.c - return (u8) - SENSORS_LIMIT(((val * 210240 - 13300) / 250 + 5) / 1000, - 0, 255); -- else if (inNum = 2) +- else if (inNum == 2) - return (u8) - SENSORS_LIMIT(((val * 157370 - 13300) / 250 + 5) / 1000, - 0, 255); -- else if (inNum = 3) +- else if (inNum == 3) - return (u8) - SENSORS_LIMIT(((val * 101080 - 13300) / 250 + 5) / 1000, - 0, 255); @@ -63,9 +63,9 @@ diff -Nru a/drivers/i2c/chips/it87.c b/drivers/i2c/chips/it87.c - We need to scale with *100 anyway, so no need to /100 at the end. */ - if (inNum <= 1) - return (long) (((250000 * val + 13300) / 210240 * 10 + 5) /10); -- else if (inNum = 2) +- else if (inNum == 2) - return (long) (((250000 * val + 13300) / 157370 * 10 + 5) /10); -- else if (inNum = 3) +- else if (inNum == 3) - return (long) (((250000 * val + 13300) / 101080 * 10 + 5) /10); - else - return (long) (((250000 * val + 13300) / 41714 * 10 + 5) /10); diff --git a/a/content_digest b/N1/content_digest index fc2935e..ce3e3f0 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,8 +1,7 @@ "ref\010525245943578@kroah.com\0" - "ref\01048295086481@kroah.com\0" - "From\0greg@kroah.com (Greg KH)\0" - "Subject\0[PATCH] More i2c driver changes for 2.5.69\0" - "Date\0Thu, 19 May 2005 06:23:56 +0000\0" + "From\0Greg KH <greg@kroah.com>\0" + "Subject\0Re: [PATCH] More i2c driver changes for 2.5.69\0" + "Date\0Fri, 9 May 2003 16:56:34 -0700\0" "To\0linux-kernel@vger.kernel.org" " sensors@stimpy.netroedge.com\0" "\00:1\0" @@ -51,11 +50,11 @@ "-\t\treturn (u8)\n" "-\t\t SENSORS_LIMIT(((val * 210240 - 13300) / 250 + 5) / 1000, \n" "-\t\t\t\t 0, 255);\n" - "-\telse if (inNum = 2)\n" + "-\telse if (inNum == 2)\n" "-\t\treturn (u8)\n" "-\t\t SENSORS_LIMIT(((val * 157370 - 13300) / 250 + 5) / 1000, \n" "-\t\t\t\t 0, 255);\n" - "-\telse if (inNum = 3)\n" + "-\telse if (inNum == 3)\n" "-\t\treturn (u8)\n" "-\t\t SENSORS_LIMIT(((val * 101080 - 13300) / 250 + 5) / 1000, \n" "-\t\t\t\t 0, 255);\n" @@ -72,9 +71,9 @@ "-\t We need to scale with *100 anyway, so no need to /100 at the end. */\n" "-\tif (inNum <= 1)\n" "-\t\treturn (long) (((250000 * val + 13300) / 210240 * 10 + 5) /10);\n" - "-\telse if (inNum = 2)\n" + "-\telse if (inNum == 2)\n" "-\t\treturn (long) (((250000 * val + 13300) / 157370 * 10 + 5) /10);\n" - "-\telse if (inNum = 3)\n" + "-\telse if (inNum == 3)\n" "-\t\treturn (long) (((250000 * val + 13300) / 101080 * 10 + 5) /10);\n" "-\telse\n" "-\t\treturn (long) (((250000 * val + 13300) / 41714 * 10 + 5) /10);\n" @@ -184,4 +183,4 @@ " \tit87_write_value(client, IT87_REG_FAN_MIN(1),\n" " \t\t\t FAN_TO_REG(IT87_INIT_FAN_MIN_1, 2));" -b9f7bc8ed92701254026dc0c13ad48d683727ddf9ecae9618743f92cca6b6417 +b7399b49f3c31e0982fe546dc29e147a4033349ac0603a911ac83ce2a49a6562
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.