Re: [PATCH] libfdt: Add support for using aliases in fdt_path_offset()

2008-08-14 Thread Kumar Gala
On Aug 13, 2008, at 11:15 PM, David Gibson wrote: On Wed, Aug 13, 2008 at 10:52:26PM -0500, Kumar Gala wrote: If the path doesn't start with '/' check to see if it matches some alias under "/aliases" and substitute the matching alias value in the path and retry the lookup. Kumar, this is b

Re: [PATCH] libfdt: Add support for using aliases in fdt_path_offset()

2008-08-13 Thread David Gibson
On Wed, Aug 13, 2008 at 10:52:26PM -0500, Kumar Gala wrote: > If the path doesn't start with '/' check to see if it matches some alias > under "/aliases" and substitute the matching alias value in the path > and retry the lookup. Kumar, this is broken. If you match an alias you only follow the pa

[PATCH] libfdt: Add support for using aliases in fdt_path_offset()

2008-08-13 Thread Kumar Gala
If the path doesn't start with '/' check to see if it matches some alias under "/aliases" and substitute the matching alias value in the path and retry the lookup. Signed-off-by: Kumar Gala <[EMAIL PROTECTED]> --- libfdt/fdt_ro.c | 25 +++-- 1 files changed, 23 insertions(+)