diff options
author | Axel Lin <[email protected]> | 2014-07-31 09:43:19 +0800 |
---|---|---|
committer | Guenter Roeck <[email protected]> | 2014-07-30 21:42:37 -0700 |
commit | cf44819c98db11163f58f08b822d626c7a8f5188 (patch) | |
tree | 68af0f6580a73753e5c43bc51ba46a87aaa1a18b /lib/mpi/mpiutil.c | |
parent | 1074d683a51f1aded3562add9ef313e75d557327 (diff) |
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 <[email protected]>
Cc: [email protected]
Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions