aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorLi Zhong <floridsleeves@gmail.com>2022-09-23 17:17:51 -0700
committerGuenter Roeck <linux@roeck-us.net>2022-09-25 14:22:11 -0700
commit8887516f01066375d70162a978b3fd9d73695878 (patch)
tree03d4397d8274b4a65e778f7ac0e52b4ccf83e7f1 /tools/perf/scripts/python/export-to-postgresql.py
parenthwmon: (sht4x) do not overflow clamping operation on 32-bit platforms (diff)
downloadwireguard-linux-8887516f01066375d70162a978b3fd9d73695878.tar.xz
wireguard-linux-8887516f01066375d70162a978b3fd9d73695878.zip
hwmon: (adm9240) fix data race in adm9240_fan_read
In adm9240_read() adm9240_fan_read() adm9240_write_fan_div(), it assumes that the caller of adm9240_write_fan_div() must hold data->update_lock. Otherwise, it may cause data races when data is updated by other threads. Signed-off-by: Li Zhong <floridsleeves@gmail.com> Link: https://lore.kernel.org/r/20220924001751.1726369-1-floridsleeves@gmail.com Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions