[PATCH 03/27] libfdt: Fix fdt_getprop_by_offset() parameter name in documentation

Sebastian Huber sebastian.huber at embedded-brains.de
Fri Feb 28 06:51:20 UTC 2020


From: Geert Uytterhoeven <geert+renesas at glider.be>

The second parameter of fdt_getprop_by_offset() is called "offset", not
"ffset".

Signed-off-by: Geert Uytterhoeven <geert+renesas at glider.be>
Signed-off-by: David Gibson <david at gibson.dropbear.id.au>
---
 cpukit/include/libfdt.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cpukit/include/libfdt.h b/cpukit/include/libfdt.h
index fdaa3e6f39..263b7adf4e 100644
--- a/cpukit/include/libfdt.h
+++ b/cpukit/include/libfdt.h
@@ -669,7 +669,7 @@ static inline struct fdt_property *fdt_get_property_w(void *fdt, int nodeoffset,
 /**
  * fdt_getprop_by_offset - retrieve the value of a property at a given offset
  * @fdt: pointer to the device tree blob
- * @ffset: offset of the property to read
+ * @offset: offset of the property to read
  * @namep: pointer to a string variable (will be overwritten) or NULL
  * @lenp: pointer to an integer variable (will be overwritten) or NULL
  *
-- 
2.16.4



More information about the devel mailing list