diff options
| author | Pavel Herrmann <[email protected]> | 2011-07-17 16:39:19 +0000 |
|---|---|---|
| committer | Jean Delvare <[email protected]> | 2011-07-17 16:39:19 +0000 |
| commit | d3f684f2820a7f42acef68bea6622d9032127fb2 (patch) | |
| tree | 0ca1227b9c1499093e7af42d01ad75f41481b5e1 /lib/fault-inject.c | |
| parent | hwmon: (it87) Fix label group removal (diff) | |
| download | kernel-d3f684f2820a7f42acef68bea6622d9032127fb2.tar.gz kernel-d3f684f2820a7f42acef68bea6622d9032127fb2.zip | |
hwmon: (max1111) Fix race condition causing NULL pointer exception
spi_sync call uses its spi_message parameter to keep completion information,
using a drvdata structure is not thread-safe. Use a mutex to prevent
multiple access to shared driver data.
Signed-off-by: Pavel Herrmann <[email protected]>
Acked-by: Russell King <[email protected]>
Acked-by: Pavel Machek <[email protected]>
Acked-by: Marek Vasut <[email protected]>
Acked-by: Cyril Hrubis <[email protected]>
Tested-by: Stanislav Brabec <[email protected]>
Signed-off-by: Jean Delvare <[email protected]>
Cc: [email protected]
Diffstat (limited to 'lib/fault-inject.c')
0 files changed, 0 insertions, 0 deletions
