Thread (7 messages) 7 messages, 2 authors, 2023-09-25

Re: [PATCH 1/3] core/device: Add function to return child node using name at substring "@"

From: Athira Rajeev <hidden>
Date: 2023-09-25 05:23:03

On 18-Sep-2023, at 7:42 PM, Reza Arbab [off-list ref] wrote:

On Thu, Sep 14, 2023 at 10:02:04PM +0530, Athira Rajeev wrote:
quoted
Add a function dt_find_by_name_before_addr() that returns the child node if
it matches till first occurrence at "@" of a given name, otherwise NULL.
This is helpful for cases with node name like: "name@addr". In
scenarios where nodes are added with "name@addr" format and if the
value of "addr" is not known, that node can't be matched with node
name or addr. Hence matching with substring as node name will return
the expected result. Patch adds dt_find_by_name_before_addr() function
and testcase for the same in core/test/run-device.c
Series applied to skiboot master with the fixup we discussed.

-- 
Reza Arbab
Thanks Reza for picking up the patchset

Athira
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help