diff options
| author | Nathan Lynch <[email protected]> | 2020-12-07 15:52:00 -0600 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2020-12-08 21:41:03 +1100 |
| commit | 2efd7f6eb9b7107e469837d8452e750d7d080a5d (patch) | |
| tree | 32275d1c5378f91a8346651b22c1bdb490186b56 /scripts/objdiff | |
| parent | 87b57ea7e109520d3c6dfb01671a0cb134d3ccff (diff) | |
powerpc/pseries/mobility: refactor node lookup during DT update
In pseries_devicetree_update(), with each call to ibm,update-nodes the
partition firmware communicates the node to be deleted or updated by
placing its phandle in the work buffer. Each of delete_dt_node(),
update_dt_node(), and add_dt_node() have duplicate lookups using the
phandle value and corresponding refcount management.
Move the lookup and of_node_put() into pseries_devicetree_update(),
and emit a warning on any failed lookups.
Signed-off-by: Nathan Lynch <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions