diff for duplicates of <10522676141842@kroah.com> diff --git a/a/1.txt b/N1/1.txt index 0f04c2c..41e7b8c 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -77,7 +77,7 @@ diff -Nru a/drivers/media/video/bttv-if.c b/drivers/media/video/bttv-if.c - int i; - for (i = 0; i < I2C_CLIENTS_MAX; i++) { -- if (btv->i2c_clients[i] = NULL) { +- if (btv->i2c_clients[i] == NULL) { - btv->i2c_clients[i] = client; - break; - } @@ -97,7 +97,7 @@ diff -Nru a/drivers/media/video/bttv-if.c b/drivers/media/video/bttv-if.c - int i; - for (i = 0; i < I2C_CLIENTS_MAX; i++) { -- if (btv->i2c_clients[i] = client) { +- if (btv->i2c_clients[i] == client) { - btv->i2c_clients[i] = NULL; - break; - } @@ -116,9 +116,9 @@ diff -Nru a/drivers/media/video/bttv-if.c b/drivers/media/video/bttv-if.c - int i; - - for (i = 0; i < I2C_CLIENTS_MAX; i++) { -- if (NULL = btv->i2c_clients[i]) +- if (NULL == btv->i2c_clients[i]) - continue; -- if (NULL = btv->i2c_clients[i]->driver->command) +- if (NULL == btv->i2c_clients[i]->driver->command) - continue; - btv->i2c_clients[i]->driver->command( - btv->i2c_clients[i],cmd,arg); @@ -229,9 +229,9 @@ diff -Nru a/drivers/media/video/saa7134/saa7134-i2c.c b/drivers/media/video/saa7 - int i; - - for (i = 0; i < I2C_CLIENT_MAX; i++) { -- if (NULL = dev->i2c_adap.clients[i]) +- if (NULL == dev->i2c_adap.clients[i]) - continue; -- if (NULL = dev->i2c_adap.clients[i]->driver->command) +- if (NULL == dev->i2c_adap.clients[i]->driver->command) - continue; - dev->i2c_adap.clients[i]->driver->command - (dev->i2c_adap.clients[i],cmd,arg); diff --git a/a/content_digest b/N1/content_digest index fc082b3..ddf924a 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\010522676142536@kroah.com\0" - "From\0greg@kroah.com (Greg KH)\0" - "Subject\0[PATCH] i2c driver changes for 2.5.69\0" - "Date\0Thu, 19 May 2005 06:23:55 +0000\0" + "From\0Greg KH <greg@kroah.com>\0" + "Subject\0Re: [PATCH] i2c driver changes for 2.5.69\0" + "Date\0Tue, 6 May 2003 17:33:34 -0700\0" "To\0linux-kernel@vger.kernel.org" " sensors@stimpy.netroedge.com\0" "\00:1\0" @@ -85,7 +85,7 @@ "-\tint i;\n" " \n" "-\tfor (i = 0; i < I2C_CLIENTS_MAX; i++) {\n" - "-\t\tif (btv->i2c_clients[i] = NULL) {\n" + "-\t\tif (btv->i2c_clients[i] == NULL) {\n" "-\t\t\tbtv->i2c_clients[i] = client;\n" "-\t\t\tbreak;\n" "-\t\t}\n" @@ -105,7 +105,7 @@ "-\tint i;\n" " \n" "-\tfor (i = 0; i < I2C_CLIENTS_MAX; i++) {\n" - "-\t\tif (btv->i2c_clients[i] = client) {\n" + "-\t\tif (btv->i2c_clients[i] == client) {\n" "-\t\t\tbtv->i2c_clients[i] = NULL;\n" "-\t\t\tbreak;\n" "-\t\t}\n" @@ -124,9 +124,9 @@ "-\tint i;\n" "-\t\n" "-\tfor (i = 0; i < I2C_CLIENTS_MAX; i++) {\n" - "-\t\tif (NULL = btv->i2c_clients[i])\n" + "-\t\tif (NULL == btv->i2c_clients[i])\n" "-\t\t\tcontinue;\n" - "-\t\tif (NULL = btv->i2c_clients[i]->driver->command)\n" + "-\t\tif (NULL == btv->i2c_clients[i]->driver->command)\n" "-\t\t\tcontinue;\n" "-\t\tbtv->i2c_clients[i]->driver->command(\n" "-\t\t\tbtv->i2c_clients[i],cmd,arg);\n" @@ -237,9 +237,9 @@ "-\tint i;\n" "-\n" "-\tfor (i = 0; i < I2C_CLIENT_MAX; i++) {\n" - "-\t\tif (NULL = dev->i2c_adap.clients[i])\n" + "-\t\tif (NULL == dev->i2c_adap.clients[i])\n" "-\t\t\tcontinue;\n" - "-\t\tif (NULL = dev->i2c_adap.clients[i]->driver->command)\n" + "-\t\tif (NULL == dev->i2c_adap.clients[i]->driver->command)\n" "-\t\t\tcontinue;\n" "-\t\tdev->i2c_adap.clients[i]->driver->command\n" "-\t\t\t(dev->i2c_adap.clients[i],cmd,arg);\n" @@ -271,4 +271,4 @@ " other place at which this is called is within i2c_attach_client; so\n" you can cheat by simply not registering. Not recommended, of course! */ -616de53578be320aa783b9a2e47d46111ab24d256e3b1b71d78d7115f68132f1 +95979bb72249c4d4149e0a73fcbc40afddba64b3cb614c289c3f13a08980540f
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.