Re: libfdt: Fix bugs in fdt_get_path()

2008-09-25 Thread Jon Loeliger
> The current implementation of fdt_get_path() has a couple of bugs, > fixed by this patch. > > First, contrary to its documentation, on success it returns the length > of the node's path, rather than 0. The testcase is correspondingly > wrong, and the patch fixes this as well. > > Second, in so

libfdt: Fix bugs in fdt_get_path()

2008-08-28 Thread David Gibson
The current implementation of fdt_get_path() has a couple of bugs, fixed by this patch. First, contrary to its documentation, on success it returns the length of the node's path, rather than 0. The testcase is correspondingly wrong, and the patch fixes this as well. Second, in some circumstances