diff options
author | Axel Lin <axel.lin@ingics.com> | 2014-07-31 03:43:19 +0200 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2014-07-31 06:42:37 +0200 |
commit | cf44819c98db11163f58f08b822d626c7a8f5188 (patch) | |
tree | 68af0f6580a73753e5c43bc51ba46a87aaa1a18b /drivers/hwmon/lm77.c | |
parent | hwmon: (lm78) Fix overflow problems seen when writing large temperature limits (diff) | |
download | linux-cf44819c98db11163f58f08b822d626c7a8f5188.tar.xz linux-cf44819c98db11163f58f08b822d626c7a8f5188.zip |
hwmon: (amc6821) Fix possible race condition bug
Ensure mutex lock protects the read-modify-write period to prevent possible
race condition bug.
In additional, update data->valid should also be protected by the mutex lock.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Cc: stable@vger.kernel.org
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions