summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2026-08-03 11:40:50 -0700
committerGuenter Roeck <linux@roeck-us.net>2026-08-03 12:45:41 -0700
commit71638a456852a18a4578f52d51926ba1d223053b (patch)
treed074f425842c7b4cfbce00c9238d92065cbf1c8f /tools/perf/scripts/python/stackcollapse.py
parent075b74841bd0065a3bda3440873c747938e69b68 (diff)
hwmon: (pmbus/core) Avoid race condition during probe
pmbus_write_smbalert_mask() is not guarded, which can cause race conditions with concurrent sysfs attribute accesses. Similar, PMBus accesses in pmbus_init_debugfs() are not guarded, also resulting in potential race conditions. Add guards to both functions to prevent the races. Reported-by: Sashiko <sashiko-bot@kernel.org> Fixes: 221819ca4c36e ("hwmon: (pmbus/core) Add interrupt support") Fixes: 1e069dfd96dfe ("hwmon: (pmbus) Add debugfs for status registers") Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions