diff for duplicates of <10728219713483@kroah.com> diff --git a/a/1.txt b/N1/1.txt index bf52280..4e05492 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -63,8 +63,8 @@ diff -Nru a/drivers/i2c/algos/i2c-algo-ite.c b/drivers/i2c/algos/i2c-algo-ite.c - for (i = 0x00; i < 0xff; i+=2) { - iic_outw(iic_adap, ITE_I2CSAR, i); - iic_start(iic_adap); -- if ( (wait_for_pin(iic_adap, &status) = 0) && -- ((status & ITE_I2CHSR_DNE) = 0) ) { +- if ( (wait_for_pin(iic_adap, &status) == 0) && +- ((status & ITE_I2CHSR_DNE) == 0) ) { - printk(KERN_INFO "\n(%02x)\n",i>>1); - } else { - printk(KERN_INFO "."); @@ -122,7 +122,7 @@ diff -Nru a/drivers/i2c/busses/i2c-ibm_iic.c b/drivers/i2c/busses/i2c-ibm_iic.c - printk(KERN_INFO "ibm-iic%d: scanning bus...\n" KERN_INFO, dev->idx); - - for (msg.addr = 8; msg.addr < 0x78; ++msg.addr) -- if (iic_xfer(&dev->adap, &msg, 1) = 1){ +- if (iic_xfer(&dev->adap, &msg, 1) == 1){ - ++found; - printk(" 0x%02x", msg.addr); - } diff --git a/a/content_digest b/N1/content_digest index 9140566..7e415cc 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,8 +1,7 @@ "ref\010728219711770@kroah.com\0" - "ref\010728219692713@kroah.com\0" - "From\0greg@kroah.com (Greg KH)\0" - "Subject\0[PATCH] i2c driver fixes for 2.6.0\0" - "Date\0Thu, 19 May 2005 06:24:32 +0000\0" + "From\0Greg KH <greg@kroah.com>\0" + "Subject\0Re: [PATCH] i2c driver fixes for 2.6.0\0" + "Date\0Tue, 30 Dec 2003 14:06:11 -0800\0" "To\0linux-kernel@vger.kernel.org" " sensors@stimpy.netroedge.com\0" "\00:1\0" @@ -72,8 +71,8 @@ "-\t\tfor (i = 0x00; i < 0xff; i+=2) {\n" "-\t\t\tiic_outw(iic_adap, ITE_I2CSAR, i);\n" "-\t\t\tiic_start(iic_adap);\n" - "-\t\t\tif ( (wait_for_pin(iic_adap, &status) = 0) && \n" - "-\t\t\t ((status & ITE_I2CHSR_DNE) = 0) ) { \n" + "-\t\t\tif ( (wait_for_pin(iic_adap, &status) == 0) && \n" + "-\t\t\t ((status & ITE_I2CHSR_DNE) == 0) ) { \n" "-\t\t\t\tprintk(KERN_INFO \"\\n(%02x)\\n\",i>>1); \n" "-\t\t\t} else {\n" "-\t\t\t\tprintk(KERN_INFO \".\"); \n" @@ -131,7 +130,7 @@ "-\tprintk(KERN_INFO \"ibm-iic%d: scanning bus...\\n\" KERN_INFO, dev->idx);\n" "-\t\n" "-\tfor (msg.addr = 8; msg.addr < 0x78; ++msg.addr)\n" - "-\t\tif (iic_xfer(&dev->adap, &msg, 1) = 1){\n" + "-\t\tif (iic_xfer(&dev->adap, &msg, 1) == 1){\n" "-\t\t\t++found;\n" "-\t\t\tprintk(\" 0x%02x\", msg.addr);\n" "-\t\t}\n" @@ -155,4 +154,4 @@ " \n" " \treturn 0;" -6cb2508f7a526b591e1f1bc93dba0cf0c36da647bddc75f9f4942e5c03d96c63 +0605b5f5a324ca255e3b721c8fc79b35d20b29cbeea65887f3d0dce1b23b027a
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.