[prev in list] [next in list] [prev in thread] [next in thread]
List: devicetree
Subject: [PATCH v3] libfdt: Add support for using aliases in fdt_path_offset()
From: segher () kernel ! crashing ! org (Segher Boessenkool)
Date: 2008-08-16 6:51:06
Message-ID: B8AE3E9F-3F7A-4533-8C6C-1C6E2F45044A () kernel ! crashing ! org
[Download RAW message or body]
> 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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic