All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <20100318152233.21082.44377.stgit@angua>

diff --git a/a/1.txt b/N1/1.txt
index 6583ccf..b3b9ffb 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -54,8 +54,8 @@ index 1c6d684..ea7d024 100644
  
  static int of_dev_node_match(struct device *dev, void *data)
  {
--	return to_of_device(dev)->node == data;
-+	return to_of_device(dev)->dev.of_node == data;
+-	return to_of_device(dev)->node = data;
++	return to_of_device(dev)->dev.of_node = data;
  }
  
  struct of_device *of_find_device_by_node(struct device_node *np)
@@ -63,8 +63,8 @@ index 1c6d684..ea7d024 100644
  static int of_dev_phandle_match(struct device *dev, void *data)
  {
  	phandle *ph = data;
--	return to_of_device(dev)->node->phandle == *ph;
-+	return to_of_device(dev)->dev.of_node->phandle == *ph;
+-	return to_of_device(dev)->node->phandle = *ph;
++	return to_of_device(dev)->dev.of_node->phandle = *ph;
  }
  
  struct of_device *of_find_device_by_phandle(phandle ph)
diff --git a/a/content_digest b/N1/content_digest
index 27fac4c..fcb804b 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,7 +1,7 @@
  "ref\020100318144836.21082.93040.stgit@angua\0"
  "From\0Grant Likely <grant.likely@secretlab.ca>\0"
- "Subject\0[V2 PATCH 05/10] arch/microblaze: Always use 'struct device.of_node' to get device node pointer.\0"
- "Date\0Thu, 18 Mar 2010 09:22:33 -0600\0"
+ "Subject\0[V2 PATCH 05/10] arch/microblaze: Always use 'struct device.of_node'\0"
+ "Date\0Thu, 18 Mar 2010 15:22:33 +0000\0"
  "To\0davem@davemloft.net"
   benh@kernel.crashing.org
   linux-kernel@vger.kernel.org
@@ -67,8 +67,8 @@
  " \n"
  " static int of_dev_node_match(struct device *dev, void *data)\n"
  " {\n"
- "-\treturn to_of_device(dev)->node == data;\n"
- "+\treturn to_of_device(dev)->dev.of_node == data;\n"
+ "-\treturn to_of_device(dev)->node = data;\n"
+ "+\treturn to_of_device(dev)->dev.of_node = data;\n"
  " }\n"
  " \n"
  " struct of_device *of_find_device_by_node(struct device_node *np)\n"
@@ -76,10 +76,10 @@
  " static int of_dev_phandle_match(struct device *dev, void *data)\n"
  " {\n"
  " \tphandle *ph = data;\n"
- "-\treturn to_of_device(dev)->node->phandle == *ph;\n"
- "+\treturn to_of_device(dev)->dev.of_node->phandle == *ph;\n"
+ "-\treturn to_of_device(dev)->node->phandle = *ph;\n"
+ "+\treturn to_of_device(dev)->dev.of_node->phandle = *ph;\n"
  " }\n"
  " \n"
   struct of_device *of_find_device_by_phandle(phandle ph)
 
-69d3998fd1b0c83932362b2b758d5f608eae1a86cef8ac92110f5fe24f7bd728
+f0190512e68f38fefbbdeb367c49f7eeee827f61726689f959db5965f57224bc

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.