commit | b4150b59aef3f2353a64ae27601339a1b42541db | [log] [tgz] |
---|---|---|
author | Peter Hurley <peter@hurleysoftware.com> | Fri Mar 06 10:12:38 2015 -0500 |
committer | David Gibson <david@gibson.dropbear.id.au> | Tue Apr 07 14:11:47 2015 +1000 |
tree | 000bb847f29a1184ef6a393d17972b63b4e1bc14 | |
parent | a4b093f7366fdb429ca1781144d3985fa50d0fbb [diff] |
libfdt: Add fdt_path_offset_namelen() Properties may contain path names which are not NUL-terminated. For example, the 'stdout-path' property allows the form 'path:options', where the ':' character terminates the path specifier. Allow these path names to be used in-place for path descending; add fdt_path_offset_namelen(), which limits the path name to 'namelen' characters. Reimplement fdt_path_offset() as a trivial wrapper. Signed-off-by: Peter Hurley <peter@hurleysoftware.com>