]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] qla2xxx: Add an "is reset active" helper.
authorAndrew Vasquez <andrew.vasquez@qlogic.com>
Thu, 9 Feb 2012 19:14:05 +0000 (11:14 -0800)
committerJames Bottomley <JBottomley@Parallels.com>
Sat, 18 Feb 2012 14:43:26 +0000 (08:43 -0600)
commitf96b27397fd883260d44d891ef6a3d35a4a7a406
tree14e7e4e863383e8268c4a8d33749942ee47d37f0
parent0843a5a401750becbccd834e3c5b32760c0fce9f
[SCSI] qla2xxx: Add an "is reset active" helper.

Many locations within the driver would use an inconsistent set of
checks to determine ISP-reset state.  Consolidate the checks into
this inline-helper.

Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/qla2xxx/qla_attr.c
drivers/scsi/qla2xxx/qla_bsg.c
drivers/scsi/qla2xxx/qla_dbg.c
drivers/scsi/qla2xxx/qla_inline.h