qla2xxx: Add mutex around optrom calls to serialize accesses.
authorChad Dupuis <chad.dupuis@qlogic.com>
Wed, 26 Feb 2014 09:14:56 +0000 (04:14 -0500)
committerBen Hutchings <ben@decadent.org.uk>
Sun, 26 Nov 2017 13:51:06 +0000 (13:51 +0000)
commit959626c47d701bd308d02b240ac36dd9086cc189
tree7f42501425f3c07d0ae07a27f49d70b8ca89df84
parent4eec08bd11df161bd9d404ab5356a4e6510a5279
qla2xxx: Add mutex around optrom calls to serialize accesses.

commit 7a8ab9c840b5dff9bb70328338a86444ed1c2415 upstream.

Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
[bwh: Backported to 3.2: adjust context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/scsi/qla2xxx/qla_attr.c
drivers/scsi/qla2xxx/qla_bsg.c
drivers/scsi/qla2xxx/qla_def.h
drivers/scsi/qla2xxx/qla_os.c