diff options
author | Mikulas Patocka <mpatocka@redhat.com> | 2018-07-03 20:13:25 +0200 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2018-07-27 15:24:20 -0400 |
commit | c21b16392701543d61e366dca84e15fe7f0cf0cf (patch) | |
tree | 894be88cee90fcb91241fc2042a8bb68acf2f9f6 /drivers/platform | |
parent | cda6b5ab7f5935565ed5b9bbc385bd1d0a3feb75 (diff) | |
download | linux-stable-c21b16392701543d61e366dca84e15fe7f0cf0cf.tar.gz linux-stable-c21b16392701543d61e366dca84e15fe7f0cf0cf.tar.bz2 linux-stable-c21b16392701543d61e366dca84e15fe7f0cf0cf.zip |
dm integrity: change 'suspending' variable from bool to int
Early alpha processors can't write a byte or short atomically - they
read 8 bytes, modify the byte or two bytes in registers and write back
8 bytes.
The modification of the variable "suspending" may race with
modification of the variable "failed". Fix this by changing
"suspending" to an int.
Cc: stable@vger.kernel.org
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/platform')
0 files changed, 0 insertions, 0 deletions