All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <10845773571232@kroah.com>

diff --git a/a/1.txt b/N1/1.txt
index b1bc5fb..1b7b6ac 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -10,7 +10,7 @@ Quoting myself
 > sublient memory is never released if I read the code correctly. This
 > is because we now free the private data on unload, assuming that it
 > contains the i2c client data as well. That's true for the main i2c
-> client, but not for the subclients (data = NULL so nothing is freed).
+> client, but not for the subclients (data == NULL so nothing is freed).
 >
 > Could someone take a look and confirm?
 
@@ -49,7 +49,7 @@ diff -Nru a/drivers/i2c/chips/asb100.c b/drivers/i2c/chips/asb100.c
  	}
  
 -	kfree(i2c_get_clientdata(client));
-+	if (i2c_get_clientdata(client)=NULL) {
++	if (i2c_get_clientdata(client)==NULL) {
 +		/* subclients */
 +		kfree(client);
 +	} else {
@@ -67,7 +67,7 @@ diff -Nru a/drivers/i2c/chips/w83781d.c b/drivers/i2c/chips/w83781d.c
  	}
  
 -	kfree(i2c_get_clientdata(client));
-+	if (i2c_get_clientdata(client)=NULL) {
++	if (i2c_get_clientdata(client)==NULL) {
 +		/* subclients */
 +		kfree(client);
 +	} else {
diff --git a/a/content_digest b/N1/content_digest
index 43a486c..2aa7232 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,8 +1,7 @@
  "ref\010845773573553@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:58 +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"
@@ -19,7 +18,7 @@
  "> sublient memory is never released if I read the code correctly. This\n"
  "> is because we now free the private data on unload, assuming that it\n"
  "> contains the i2c client data as well. That's true for the main i2c\n"
- "> client, but not for the subclients (data = NULL so nothing is freed).\n"
+ "> client, but not for the subclients (data == NULL so nothing is freed).\n"
  ">\n"
  "> Could someone take a look and confirm?\n"
  "\n"
@@ -58,7 +57,7 @@
  " \t}\n"
  " \n"
  "-\tkfree(i2c_get_clientdata(client));\n"
- "+\tif (i2c_get_clientdata(client)=NULL) {\n"
+ "+\tif (i2c_get_clientdata(client)==NULL) {\n"
  "+\t\t/* subclients */\n"
  "+\t\tkfree(client);\n"
  "+\t} else {\n"
@@ -76,7 +75,7 @@
  " \t}\n"
  " \n"
  "-\tkfree(i2c_get_clientdata(client));\n"
- "+\tif (i2c_get_clientdata(client)=NULL) {\n"
+ "+\tif (i2c_get_clientdata(client)==NULL) {\n"
  "+\t\t/* subclients */\n"
  "+\t\tkfree(client);\n"
  "+\t} else {\n"
@@ -87,4 +86,4 @@
  " \treturn 0;\n"
   }
 
-128711b9dd1ab72aa2359b21003ce3c978eb66ff28cd84e1f04de66816578037
+8ba31dacb6c779936cf9ff209ac864a41b2eb949ecc67c0d7fb3be8eb89cde0e

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.