diff for duplicates of <10586300933079@kroah.com> diff --git a/a/1.txt b/N1/1.txt index e3c9e6c..8b7d3ec 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -76,7 +76,7 @@ diff -Nru a/drivers/i2c/i2c-keywest.c b/drivers/i2c/i2c-keywest.c DBG("handle_interrupt(), got: %x, status: %x, state: %d\n", isr, read_reg(reg_status), iface->state); - if (isr = 0 && iface->state != state_stop) { + if (isr == 0 && iface->state != state_stop) { do_stop(iface, -1); - return; + return rearm_timer; @@ -167,7 +167,7 @@ diff -Nru a/drivers/i2c/i2c-keywest.c b/drivers/i2c/i2c-keywest.c rc = iface->result; DBG("transfer done, result: %d\n", rc); @@ -421,24 +379,13 @@ - ((iface->read_write = I2C_SMBUS_READ) ? 0x01 : 0x00)); + ((iface->read_write == I2C_SMBUS_READ) ? 0x01 : 0x00)); /* Arm timeout */ - iface->timeout_timer.expires = jiffies + POLL_TIMEOUT; @@ -191,7 +191,7 @@ diff -Nru a/drivers/i2c/i2c-keywest.c b/drivers/i2c/i2c-keywest.c -#endif /* POLLED_MODE */ rc = iface->result; - if (rc = 0) + if (rc == 0) @@ -540,8 +487,8 @@ *prate); } diff --git a/a/content_digest b/N1/content_digest index 3b448b0..18f519d 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,8 +1,7 @@ "ref\010586300923537@kroah.com\0" - "ref\0105863009030@kroah.com\0" - "From\0greg@kroah.com (Greg KH)\0" - "Subject\0[PATCH] i2c driver changes 2.6.0-test1\0" - "Date\0Thu, 19 May 2005 06:24:05 +0000\0" + "From\0Greg KH <greg@kroah.com>\0" + "Subject\0Re: [PATCH] i2c driver changes 2.6.0-test1\0" + "Date\0Sat, 19 Jul 2003 08:54:53 -0700\0" "To\0linux-kernel@vger.kernel.org" " sensors@stimpy.netroedge.com\0" "\00:1\0" @@ -85,7 +84,7 @@ " \t\n" " \tDBG(\"handle_interrupt(), got: %x, status: %x, state: %d\\n\",\n" " \t\tisr, read_reg(reg_status), iface->state);\n" - " \tif (isr = 0 && iface->state != state_stop) {\n" + " \tif (isr == 0 && iface->state != state_stop) {\n" " \t\tdo_stop(iface, -1);\n" "-\t\treturn;\n" "+\t\treturn rearm_timer;\n" @@ -176,7 +175,7 @@ " \trc = iface->result;\t\n" " \tDBG(\"transfer done, result: %d\\n\", rc);\n" "@@ -421,24 +379,13 @@\n" - " \t\t\t((iface->read_write = I2C_SMBUS_READ) ? 0x01 : 0x00));\n" + " \t\t\t((iface->read_write == I2C_SMBUS_READ) ? 0x01 : 0x00));\n" " \n" " \t\t/* Arm timeout */\n" "-\t\tiface->timeout_timer.expires = jiffies + POLL_TIMEOUT;\n" @@ -200,7 +199,7 @@ "-#endif /* POLLED_MODE */\t\n" " \n" " \t\trc = iface->result;\n" - " \t\tif (rc = 0)\n" + " \t\tif (rc == 0)\n" "@@ -540,8 +487,8 @@\n" " \t\t\t*prate);\n" " \t}\n" @@ -251,4 +250,4 @@ " \n" " \t/* Release all channels */" -e523bf14ec4a8828f739f61375662ad474800a0e6293bd4182754b58651043e8 +895a508af6c50ced7776c45746fdbc456135fec50771b0b44f3eb2f173d84cae
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.