[rtems commit] libfdt: Fix fdt_getprop_by_offset() parameter name in documentation

Sebastian Huber sebh at rtems.org
Mon Mar 2 06:52:33 UTC 2020


Module:    rtems
Branch:    master
Commit:    ab3efccd4237238e14a08e05da1cacd81d8c3776
Changeset: http://git.rtems.org/rtems/commit/?id=ab3efccd4237238e14a08e05da1cacd81d8c3776

Author:    Geert Uytterhoeven <geert+renesas at glider.be>
Date:      Fri Dec 21 14:01:32 2018 +0100

libfdt: Fix fdt_getprop_by_offset() parameter name in documentation

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 fdaa3e6..263b7ad 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
  *



More information about the vc mailing list