All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <4256C315.3000902@katalix.com>

diff --git a/a/1.txt b/N1/1.txt
index 8a3bd83..c853d47 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -89,7 +89,7 @@ more useful to others if you provide a way to set a value per platform.
 >>>+		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;
 >>>+}
 >>
 >>This will fail eventually. The first register is the seconds count, which
diff --git a/a/content_digest b/N1/content_digest
index d65d7a5..1012429 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,9 +1,9 @@
  "ref\020050407231904.GE27226@orphique\0"
  "ref\0FxPJVIPZ.1112958526.4787880.khali@localhost\0"
  "ref\020050408123545.GA4961@orphique\0"
- "From\0jchapman@katalix.com (James Chapman)\0"
- "Subject\0[PATCH] ds1337 4/4\0"
- "Date\0Thu, 19 May 2005 06:25:50 +0000\0"
+ "From\0James Chapman <jchapman@katalix.com>\0"
+ "Subject\0Re: [PATCH] ds1337 4/4\0"
+ "Date\0Fri, 08 Apr 2005 18:44:53 +0100\0"
  "To\0Ladislav Michl <ladis@linux-mips.org>\0"
  "Cc\0Jean Delvare <khali@linux-fr.org>"
   LKML <linux-kernel@vger.kernel.org>
@@ -102,7 +102,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"
  ">>This will fail eventually. The first register is the seconds count, which\n"
@@ -188,4 +188,4 @@
  "\n"
  /james
 
-b13e5bf0831291a82e5985d501700ca2ac61c71a2a16540425d8e6f262886240
+d700f79da1948af9303fed5baba9a249e486a23f0376746bbe9dd9898e046cd9

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.