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

2008-08-14 Thread David Gibson
On Thu, Aug 14, 2008 at 07:51:47AM -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. > > Signed-off-by: Kumar Gala <[EMAIL PROTECTED]> > --- > > Fixed t

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

2008-08-14 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]> --- Fixed the bug pointed out by David Gibson and added tests. - k libfdt/fdt_ro.c