aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stat-cpi.py
diff options
context:
space:
mode:
authorRob Herring <[email protected]>2023-08-18 15:40:59 -0500
committerRob Herring <[email protected]>2023-08-21 17:09:57 -0500
commit420f0de965a80b7060d23d2c23cddaed4e4ad2eb (patch)
tree65b458154bff425907f822c59c39a35a4ca822ac /tools/perf/scripts/python/stat-cpi.py
parent27a02f265e25a6d6136d07d0187fd02fe1691fd7 (diff)
of: dynamic: Fix race in getting old property when updating property
__of_update_property() returns the existing property if there is one, but that value is never added to the changeset. Updates work because the existing property was also retrieved before in of_changeset_action(), but that is racy as of_changeset_action() doesn't hold any locks. The property could be changed before the changeset is applied. Reviewed-by: Geert Uytterhoeven <[email protected]> Tested-by: Geert Uytterhoeven <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Rob Herring <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions