All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <20181107223151.14991-9-robh@kernel.org>

diff --git a/a/1.txt b/N1/1.txt
index 94a7094..8f77c93 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -57,7 +57,7 @@ index 377113ae9a6a..bcfec6a85d23 100644
  		of_propagate_archdata(op);
  
 -	type = of_get_property(node, "device_type", NULL);
--	if (type = NULL)
+-	if (type == NULL)
 -		type = "";
 -
  	if (ofpci_verbose)
@@ -242,9 +242,9 @@ index 0b578d03797b..c7cad9b7bba7 100644
 --- a/arch/sparc/kernel/vio.c
 +++ b/arch/sparc/kernel/vio.c
 @@ -366,12 +366,9 @@ static struct vio_dev *vio_create_one(struct mdesc_handle *hp, u64 mp,
- 	if (parent = NULL) {
+ 	if (parent == NULL) {
  		dp = cdev_node;
- 	} else if (to_vio_dev(parent) = root_vdev) {
+ 	} else if (to_vio_dev(parent) == root_vdev) {
 -		dp = of_get_next_child(cdev_node, NULL);
 -		while (dp) {
 -			if (!strcmp(dp->type, type))
diff --git a/a/content_digest b/N1/content_digest
index c40a02f..fce88b3 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,7 +1,7 @@
  "ref\020181107223151.14991-1-robh@kernel.org\0"
  "From\0Rob Herring <robh@kernel.org>\0"
  "Subject\0[PATCH 8/8] sparc: Use device_type helpers to access the node type\0"
- "Date\0Wed, 07 Nov 2018 22:31:51 +0000\0"
+ "Date\0Wed,  7 Nov 2018 16:31:51 -0600\0"
  "To\0David S. Miller <davem@davemloft.net>\0"
  "Cc\0Frank Rowand <frowand.list@gmail.com>"
   linux-kernel@vger.kernel.org
@@ -67,7 +67,7 @@
  " \t\tof_propagate_archdata(op);\n"
  " \n"
  "-\ttype = of_get_property(node, \"device_type\", NULL);\n"
- "-\tif (type = NULL)\n"
+ "-\tif (type == NULL)\n"
  "-\t\ttype = \"\";\n"
  "-\n"
  " \tif (ofpci_verbose)\n"
@@ -252,9 +252,9 @@
  "--- a/arch/sparc/kernel/vio.c\n"
  "+++ b/arch/sparc/kernel/vio.c\n"
  "@@ -366,12 +366,9 @@ static struct vio_dev *vio_create_one(struct mdesc_handle *hp, u64 mp,\n"
- " \tif (parent = NULL) {\n"
+ " \tif (parent == NULL) {\n"
  " \t\tdp = cdev_node;\n"
- " \t} else if (to_vio_dev(parent) = root_vdev) {\n"
+ " \t} else if (to_vio_dev(parent) == root_vdev) {\n"
  "-\t\tdp = of_get_next_child(cdev_node, NULL);\n"
  "-\t\twhile (dp) {\n"
  "-\t\t\tif (!strcmp(dp->type, type))\n"
@@ -269,4 +269,4 @@
  "-- \n"
  2.19.1
 
-4a218a847fa843ace9afe574dc08458fb365da35241afd064e30ae18ffff1548
+5cc82d5e32300c74c3792d9c8566c75a5dc39f37cee3806ed1d5be1610137873

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.