Files
twx-linux/drivers/scsi
Finn Thain 334259786f 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 10:58:43 +01:00
..
2016-04-12 09:08:39 -07:00
2017-12-25 14:22:14 +01:00
…
2015-11-09 17:11:57 -08:00
2017-04-08 09:53:31 +02:00
2017-03-18 19:09:58 +08:00
2015-11-12 07:06:18 -05:00
2015-04-27 10:10:19 -07:00
2015-04-27 10:04:39 -07:00
2015-04-27 10:04:39 -07:00
2015-04-27 10:05:55 -07:00
2015-04-27 10:05:55 -07:00
2016-07-27 09:47:39 -07:00
…
…
…
…
…
…
…
…
2015-04-17 10:13:56 -07:00
…
2018-02-25 11:03:44 +01:00
…
…
…
…
2015-11-09 17:11:57 -08:00
…
2015-11-09 16:32:14 -08:00
…
…
…
…
2015-12-03 09:32:33 -08:00
2018-01-23 19:50:15 +01:00
2017-12-20 10:04:55 +01:00
…
…
…
2018-03-22 09:23:21 +01:00
2015-11-09 19:32:41 -05:00
2015-06-02 17:24:54 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
2015-11-12 07:06:18 -05:00
…
…
…
2018-03-22 09:23:29 +01:00
2016-10-28 03:01:31 -04:00
2015-11-09 17:11:57 -08:00
…
…
…
2018-02-25 11:03:44 +01:00
2017-04-21 09:30:05 +02:00
…
2015-12-03 09:32:33 -08:00
2015-06-02 08:03:25 -07:00
2015-11-09 17:42:19 -08:00
…
…
…
…
…
…