diff for duplicates of <10845773573553@kroah.com> diff --git a/a/1.txt b/N1/1.txt index f3cdd93..64c6d40 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -60,12 +60,12 @@ diff -Nru a/drivers/i2c/chips/via686a.c b/drivers/i2c/chips/via686a.c u16 twoBits = val & 3; - /* handle the extremes first (they won't interpolate well! ;-) */ -- if (val = 0) +- if (val == 0) - return (long) tempLUT[0]; -- if (val = 1023) +- if (val == 1023) - return (long) tempLUT[255]; - -- if (twoBits = 0) +- if (twoBits == 0) - return (long) tempLUT[eightBits]; - else { - /* do some interpolation by multipying the lower and upper @@ -80,7 +80,7 @@ diff -Nru a/drivers/i2c/chips/via686a.c b/drivers/i2c/chips/via686a.c - return (temp / 100); - } + /* no interpolation for these */ -+ if (twoBits = 0 || eightBits = 255) ++ if (twoBits == 0 || eightBits == 255) + return TEMP_FROM_REG(eightBits); + + /* do some linear interpolation */ diff --git a/a/content_digest b/N1/content_digest index ca28569..d400b33 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,8 +1,7 @@ "ref\01084577357958@kroah.com\0" - "ref\010845773562431@kroah.com\0" - "From\0greg@kroah.com (Greg KH)\0" - "Subject\0[PATCH] I2C update for 2.6.6\0" - "Date\0Thu, 19 May 2005 06:24:57 +0000\0" + "From\0Greg KH <greg@kroah.com>\0" + "Subject\0Re: [PATCH] I2C update for 2.6.6\0" + "Date\0Fri, 14 May 2004 16:29:17 -0700\0" "To\0linux-kernel@vger.kernel.org" " sensors@stimpy.netroedge.com\0" "\00:1\0" @@ -69,12 +68,12 @@ " \tu16 twoBits = val & 3;\n" " \n" "-\t/* handle the extremes first (they won't interpolate well! ;-) */\n" - "-\tif (val = 0)\n" + "-\tif (val == 0)\n" "-\t\treturn (long) tempLUT[0];\n" - "-\tif (val = 1023)\n" + "-\tif (val == 1023)\n" "-\t\treturn (long) tempLUT[255];\n" "-\n" - "-\tif (twoBits = 0)\n" + "-\tif (twoBits == 0)\n" "-\t\treturn (long) tempLUT[eightBits];\n" "-\telse {\n" "-\t\t/* do some interpolation by multipying the lower and upper\n" @@ -89,7 +88,7 @@ "-\t\treturn (temp / 100);\n" "-\t}\n" "+\t/* no interpolation for these */\n" - "+\tif (twoBits = 0 || eightBits = 255)\n" + "+\tif (twoBits == 0 || eightBits == 255)\n" "+\t\treturn TEMP_FROM_REG(eightBits);\n" "+\n" "+\t/* do some linear interpolation */\n" @@ -134,4 +133,4 @@ " \tvia686a_write_value(client, VIA686A_REG_TEMP_HYST(nr), data->temp_hyst[nr]);\n" " \treturn count;" -173cb0b3a621cf5ee2266152311b7f59d0df4e3dbba2998a7c0cb7d4ff6cbbbd +bd45350dadc951618698bc7666f82673722b6ac044fe158e2aa40ee74cb038d4
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.