Re: [PATCH] scsi/mac_esp: Replace bogus memory barrier with spinlock

From: Michael Schmitz
Date: Mon Apr 24 2017 - 22:15:21 EST


Martin,

looks good to me, so:

Reviewed-By: Michael Schmitz <schmitzmic@xxxxxxxxx>


Am 25.04.2017 um 10:29 schrieb Martin K. Petersen:
>
> Finn,
>
>> Commit da244654c66e ("[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.
>
> Ondrej/Michael: Mind reviewing this change?
>