mirror of
https://github.com/dgibson/dtc.git
synced 2025-12-07 05:35:07 -05:00
libfdt: Fix FDT_ERR_NOTFOUND typos in documentation
The actual error is FDT_ERR_NOTFOUND, not FDT_ERR_NOT_FOUND. Fixes:d29126c90a("libfdt: Add iterator over properties") Fixes:902d0f0953("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>
This commit is contained in:
parent
5aafd7ca43
commit
ea7a8f6dad
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
* 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
|
* Error handling
|
||||||
* }
|
* }
|
||||||
*
|
*
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue