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@gibson.dropbear.id.au>
This commit is contained in:
David Gibson 2017-10-18 16:45:52 +11:00
parent b0ae9e4b0c
commit 2e6fe5a107
2 changed files with 6 additions and 5 deletions

View file

@ -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.
*/
}