All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <20100808231116.21c7d6f3@dev.queued.net>

diff --git a/a/1.txt b/N1/1.txt
index 2cfafd4..482c957 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -94,7 +94,7 @@ index 7b454f6..4c5f67f 100644
 + */
 +static int __init handle_prop_quirks(char *buf, const char *name)
 +{
-+	if (!name || strlen(name) = 0)
++	if (!name || strlen(name) == 0)
 +		return -1;
 +
 +#ifdef CONFIG_SPARC32
@@ -259,15 +259,15 @@ index 61d9477..22f46fb 100644
  		p->value = prom_early_alloc(special_len);
  		memcpy(p->value, special_val, special_len);
  	} else {
--		if (prev = NULL) {
+-		if (prev == NULL) {
 -			name = prom_firstprop(node, p->name);
 -		} else {
 -			name = prom_nextprop(node, prev, p->name);
 -		}
 +		int err;
  
--		if (!name || strlen(name) = 0) {
-+		if (prev = NULL)
+-		if (!name || strlen(name) == 0) {
++		if (prev == NULL)
 +			err = prom_ops.firstprop(node, p->name);
 +		else
 +			err = prom_ops.nextprop(node, prev, p->name);
diff --git a/a/content_digest b/N1/content_digest
index e821989..b3d20dd 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,6 +1,6 @@
  "From\0Andres Salomon <dilinger@queued.net>\0"
  "Subject\0[PATCH 2/3] sparc: make driver/of/pdt no longer sparc-specific\0"
- "Date\0Mon, 09 Aug 2010 03:11:16 +0000\0"
+ "Date\0Sun, 8 Aug 2010 23:11:16 -0400\0"
  "To\0Grant Likely <grant.likely@secretlab.ca>\0"
  "Cc\0devicetree-discuss@lists.ozlabs.org"
   sparclinux@vger.kernel.org
@@ -104,7 +104,7 @@
  "+ */\n"
  "+static int __init handle_prop_quirks(char *buf, const char *name)\n"
  "+{\n"
- "+\tif (!name || strlen(name) = 0)\n"
+ "+\tif (!name || strlen(name) == 0)\n"
  "+\t\treturn -1;\n"
  "+\n"
  "+#ifdef CONFIG_SPARC32\n"
@@ -269,15 +269,15 @@
  " \t\tp->value = prom_early_alloc(special_len);\n"
  " \t\tmemcpy(p->value, special_val, special_len);\n"
  " \t} else {\n"
- "-\t\tif (prev = NULL) {\n"
+ "-\t\tif (prev == NULL) {\n"
  "-\t\t\tname = prom_firstprop(node, p->name);\n"
  "-\t\t} else {\n"
  "-\t\t\tname = prom_nextprop(node, prev, p->name);\n"
  "-\t\t}\n"
  "+\t\tint err;\n"
  " \n"
- "-\t\tif (!name || strlen(name) = 0) {\n"
- "+\t\tif (prev = NULL)\n"
+ "-\t\tif (!name || strlen(name) == 0) {\n"
+ "+\t\tif (prev == NULL)\n"
  "+\t\t\terr = prom_ops.firstprop(node, p->name);\n"
  "+\t\telse\n"
  "+\t\t\terr = prom_ops.nextprop(node, prev, p->name);\n"
@@ -448,4 +448,4 @@
  "-- \n"
  1.5.6.5
 
-1b58c9357a1dd192c10504862b3630455c3bd1c661faa6afacc54077160c6afc
+d7023f4363b9649d99db393306ea7f193ce79ec190d175babde54e9734038b11

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.