aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2018-12-21 17:32:23 +0100
committerDavid Gibson <david@gibson.dropbear.id.au>2018-12-23 13:34:57 +1100
commitea7a8f6dad67d1d668df7e12adecf7783ac1874b (patch)
tree339a77fce89d10fea8a89fbb934faa066ff8de02
parent5aafd7ca43e0beb6b078388e789088b3ea1a51f5 (diff)
downloaddtc-ea7a8f6dad67d1d668df7e12adecf7783ac1874b.zip
dtc-ea7a8f6dad67d1d668df7e12adecf7783ac1874b.tar.gz
dtc-ea7a8f6dad67d1d668df7e12adecf7783ac1874b.tar.bz2
libfdt: Fix FDT_ERR_NOTFOUND typos in documentation
The actual error is FDT_ERR_NOTFOUND, not FDT_ERR_NOT_FOUND. Fixes: d29126c90acb0d70 ("libfdt: Add iterator over properties") Fixes: 902d0f0953d0074b ("libfdt: Add a subnodes iterator macro") Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
-rw-r--r--libfdt/libfdt.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libfdt/libfdt.h b/libfdt/libfdt.h
index 263b7ad..a470d1d 100644
--- a/libfdt/libfdt.h
+++ b/libfdt/libfdt.h
@@ -227,7 +227,7 @@ int fdt_next_subnode(const void *fdt, int offset);
* ...
* }
*
- * if ((node < 0) && (node != -FDT_ERR_NOT_FOUND)) {
+ * if ((node < 0) && (node != -FDT_ERR_NOTFOUND)) {
* Error handling
* }
*
@@ -566,7 +566,7 @@ int fdt_next_property_offset(const void *fdt, int offset);
* ...
* }
*
- * if ((property < 0) && (property != -FDT_ERR_NOT_FOUND)) {
+ * if ((property < 0) && (property != -FDT_ERR_NOTFOUND)) {
* Error handling
* }
*