All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <20050407231904.GE27226@orphique>

diff --git a/a/1.txt b/N1/1.txt
index 78bd0f3..5ddb344 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -64,7 +64,7 @@ matches my board ;-)
 +		dev_err(&client->dev, "error reading data! %d\n", result);
 +		return 0;
 +	} else
-+		return (buf[0] = buf[16]) ? 0 : 1;
++		return (buf[0] == buf[16]) ? 0 : 1;
 +}
 +
  /*
@@ -92,7 +92,7 @@ matches my board ;-)
 +
  	}
  
--	if (kind = ds1337)
+-	if (kind == ds1337)
 +	switch (kind) {
 +	case ds1337:
  		name = "ds1337";
@@ -111,7 +111,7 @@ matches my board ;-)
  	ds1337_init_client(new_client);
  
 +	/* Be nice to battery */
-+	if (kind = ds1339 && ds1339_charge) {
++	if (kind == ds1339 && ds1339_charge) {
 +		char buf[] = { DS1339_REG_CHARGE, ds1339_charge };
 +
 +		if (i2c_master_send(new_client, buf, 2) != 2)
diff --git a/a/content_digest b/N1/content_digest
index adcaa0f..15ee28a 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -2,9 +2,9 @@
  "ref\0hOrXV5wl.1112879260.3338120.khali@localhost\0"
  "ref\020050407142804.GA11284@orphique\0"
  "ref\020050407211839.GA5357@kroah.com\0"
- "From\0ladis@linux-mips.org (Ladislav Michl)\0"
+ "From\0Ladislav Michl <ladis@linux-mips.org>\0"
  "Subject\0[PATCH] ds1337 4/4\0"
- "Date\0Thu, 19 May 2005 06:25:49 +0000\0"
+ "Date\0Fri, 8 Apr 2005 01:19:04 +0200\0"
  "To\0Greg KH <greg@kroah.com>\0"
  "Cc\0Jean Delvare <khali@linux-fr.org>"
   LKML <linux-kernel@vger.kernel.org>
@@ -78,7 +78,7 @@
  "+\t\tdev_err(&client->dev, \"error reading data! %d\\n\", result);\n"
  "+\t\treturn 0;\n"
  "+\t} else\n"
- "+\t\treturn (buf[0] = buf[16]) ? 0 : 1;\n"
+ "+\t\treturn (buf[0] == buf[16]) ? 0 : 1;\n"
  "+}\n"
  "+\n"
  " /*\n"
@@ -106,7 +106,7 @@
  "+\n"
  " \t}\n"
  " \n"
- "-\tif (kind = ds1337)\n"
+ "-\tif (kind == ds1337)\n"
  "+\tswitch (kind) {\n"
  "+\tcase ds1337:\n"
  " \t\tname = \"ds1337\";\n"
@@ -125,7 +125,7 @@
  " \tds1337_init_client(new_client);\n"
  " \n"
  "+\t/* Be nice to battery */\n"
- "+\tif (kind = ds1339 && ds1339_charge) {\n"
+ "+\tif (kind == ds1339 && ds1339_charge) {\n"
  "+\t\tchar buf[] = { DS1339_REG_CHARGE, ds1339_charge };\n"
  "+\n"
  "+\t\tif (i2c_master_send(new_client, buf, 2) != 2)\n"
@@ -137,4 +137,4 @@
  " \tdata->id = ds1337_id++;\n"
  " \tlist_add(&data->list, &ds1337_clients);"
 
-80193745d8b8e9a4d47c6d1ffeabe77ecf543119e8bbf0645bd6c84c41a4065b
+257d12fb6c5b9171be7b44e03226510f89560de390dd62685195cd160ade5600

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.