summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2023-08-18 15:41:00 -0500
committerRob Herring <robh@kernel.org>2023-08-21 17:09:57 -0500
commit6701c2c76a1ed4bb442235204820cfa24e8d5b9c (patch)
tree868cae2fbe77c09f7bdcae1794f4bb7ba89f65ed /scripts/gdb/linux/utils.py
parent420f0de965a80b7060d23d2c23cddaed4e4ad2eb (diff)
of: dynamic: Move dead property list check into property add/update functions
The changeset code checks for a property in the deadprops list when adding/updating a property, but of_add_property() and of_update_property() do not. As the users of these functions are pretty simple, they have not hit this scenario or else the property lists would get corrupted. With this there are 3 cases of removing a property from either deadprops or properties lists, so add a helper to find and remove a matching property. Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://lore.kernel.org/r/20230801-dt-changeset-fixes-v3-5-5f0410e007dd@kernel.org Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions