diff options
| author | Guenter Roeck <linux@roeck-us.net> | 2026-08-03 11:40:50 -0700 |
|---|---|---|
| committer | Guenter Roeck <linux@roeck-us.net> | 2026-08-03 12:45:41 -0700 |
| commit | 71638a456852a18a4578f52d51926ba1d223053b (patch) | |
| tree | d074f425842c7b4cfbce00c9238d92065cbf1c8f /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 075b74841bd0065a3bda3440873c747938e69b68 (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/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
