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

Segher Boessenkool segher at kernel.crashing.org
Sat Aug 16 16:51:06 EST 2008


> Hmm.. my reading of 1275 says that an alias pointing to another alias
> is not permitted, but I'm not terribly confident I'm not misreading
> it.  Segher, do you know whether this is allowed?

My reading is the same: if after expanding an alias the path does
not start with "/", the search starts at the current package,
otherwise it starts at the root node; and no further alias expansion
is done.

It's a corner case for sure, but at least the standard doesn't
require us to implement recursive alias expansion; let's see if
common practice does ;-)


Segher




More information about the Linuxppc-dev mailing list