[Crosstoolchain-logs] [device-tree-compiler] 04/22: Fix some typing errors in libfdt.h and livetree.c

Hector Oron zumbi at moszumanska.debian.org
Thu Dec 8 17:07:26 UTC 2016


This is an automated email from the git hooks/post-receive script.

zumbi pushed a commit to branch upstream/latest
in repository device-tree-compiler.

commit 45fd440a956112c78dc3b602e3a618f22f495db2
Author: Thomas Huth <thuth at redhat.com>
Date:   Mon Sep 26 18:12:26 2016 +0200

    Fix some typing errors in libfdt.h and livetree.c
    
    Correct some typos discovered with the codespell utility.
    
    Signed-off-by: Thomas Huth <thuth at redhat.com>
    Signed-off-by: David Gibson <david at gibson.dropbear.id.au>
---
 libfdt/libfdt.h | 4 ++--
 livetree.c      | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/libfdt/libfdt.h b/libfdt/libfdt.h
index 376e628..ecb11fc 100644
--- a/libfdt/libfdt.h
+++ b/libfdt/libfdt.h
@@ -61,7 +61,7 @@
 #define FDT_ERR_NOTFOUND	1
 	/* FDT_ERR_NOTFOUND: The requested node or property does not exist */
 #define FDT_ERR_EXISTS		2
-	/* FDT_ERR_EXISTS: Attemped to create a node or property which
+	/* FDT_ERR_EXISTS: Attempted to create a node or property which
 	 * already exists */
 #define FDT_ERR_NOSPACE		3
 	/* FDT_ERR_NOSPACE: Operation needed to expand the device
@@ -700,7 +700,7 @@ const char *fdt_get_alias_namelen(const void *fdt,
 				  const char *name, int namelen);
 
 /**
- * fdt_get_alias - retreive the path referenced by a given alias
+ * fdt_get_alias - retrieve the path referenced by a given alias
  * @fdt: pointer to the device tree blob
  * @name: name of the alias th look up
  *
diff --git a/livetree.c b/livetree.c
index e229b84..3dc7559 100644
--- a/livetree.c
+++ b/livetree.c
@@ -204,7 +204,7 @@ struct node *merge_nodes(struct node *old_node, struct node *new_node)
 			}
 		}
 
-		/* if no collision occured, add child to the old node. */
+		/* if no collision occurred, add child to the old node. */
 		if (new_child)
 			add_child(old_node, new_child);
 	}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/crosstoolchain/device-tree-compiler.git



More information about the Crosstoolchain-logs mailing list