Files
twx-linux/drivers/scsi
Finn Thain 8a15303518 scsi: mac_esp: Replace bogus memory barrier with spinlock
[ Upstream commit 4da2b1eb23 ]

Commit da244654c6 ("[SCSI] mac_esp: fix for quadras with two esp
chips") added mac_scsi_esp_intr() to handle the IRQ lines from a pair of
on-board ESP chips (a normal shared IRQ did not work).

Proper mutual exclusion was missing from that patch. This patch fixes
race conditions between comparison and assignment of esp_chips[]
pointers.

Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Reviewed-by: Michael Schmitz <schmitzmic@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-03-24 11:00:15 +01:00
..
2017-12-25 14:23:44 +01:00
2017-04-08 09:30:32 +02:00
2018-03-24 11:00:13 +01:00
2018-01-23 19:57:05 +01:00
2017-12-20 10:07:22 +01:00
2018-03-22 09:17:42 +01:00
2018-03-22 09:17:56 +01:00
2017-04-21 09:31:21 +02:00