]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
libfdt: Fix bug in fdt_subnode_offset_namelen()
authorDavid Gibson <david@gibson.dropbear.id.au>
Thu, 30 Oct 2008 04:27:45 +0000 (23:27 -0500)
committerGerald Van Baren <vanbaren@cideas.com>
Fri, 31 Oct 2008 00:42:54 +0000 (20:42 -0400)
commit4bc7deee9095f21e243b724ca3d634251c1d5432
tree0d9650ece9c8cd990f3f16cb7f0282b5c6f8510a
parentf242a08871839eac081ba5b599af979f3a148a0d
libfdt: Fix bug in fdt_subnode_offset_namelen()

There's currently an off-by-one bug in fdt_subnode_offset_namelen()
which causes it to keep searching after it's finished the subnodes of
the given parent, and into the subnodes of siblings of the original
node which come after it in the tree.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
libfdt/fdt_ro.c