[Crosstoolchain-logs] [device-tree-compiler] 05/29: Fix some errors in comments

Vagrant Cascadian vagrant at moszumanska.debian.org
Tue Jan 23 06:34:37 UTC 2018


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

vagrant pushed a commit to branch debian/master
in repository device-tree-compiler.

commit 2e6fe5a107b562ce0c0ba18a9a49dd30c74ae069
Author: David Gibson <david at gibson.dropbear.id.au>
Date:   Wed Oct 18 16:45:52 2017 +1100

    Fix some errors in comments
    
    A comment in tests/stringlist.c refers to fdt_get_string(), which is not a
    function that exists.  From the content, it's supposed to be referring to
    fdt_getprop_string().
    
    A comment in libfdt.h has an extraneous space in a function name.
    
    Signed-off-by: David Gibson <david at gibson.dropbear.id.au>
---
 libfdt/libfdt.h    | 2 +-
 tests/stringlist.c | 9 +++++----
 2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/libfdt/libfdt.h b/libfdt/libfdt.h
index 313c72a..c886520 100644
--- a/libfdt/libfdt.h
+++ b/libfdt/libfdt.h
@@ -1449,7 +1449,7 @@ int fdt_setprop(void *fdt, int nodeoffset, const char *name,
 		const void *val, int len);
 
 /**
- * fdt_setprop _placeholder - allocate space for a property
+ * fdt_setprop_placeholder - allocate space for a property
  * @fdt: pointer to the device tree blob
  * @nodeoffset: offset of the node whose property to change
  * @name: name of the property to change
diff --git a/tests/stringlist.c b/tests/stringlist.c
index a9d3e73..23cfece 100644
--- a/tests/stringlist.c
+++ b/tests/stringlist.c
@@ -60,10 +60,11 @@ static void check_expected_failure(const void *fdt, const char *path,
 		FAIL("empty string not found in #address-cells: %d\n", err);
 
 	/*
-	 * fdt_get_string() can successfully extract strings from non-string
-	 * properties. This is because it doesn't necessarily parse the whole
-	 * property value, which would be necessary for it to determine if a
-	 * valid string or string list is present.
+	 * fdt_getprop_string() can successfully extract strings from
+	 * non-string properties. This is because it doesn't
+	 * necessarily parse the whole property value, which would be
+	 * necessary for it to determine if a valid string or string
+	 * list is present.
 	 */
 }
 

-- 
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