]> git.karo-electronics.de Git - linux-beck.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)
commitd051a5aa1c234c8de01fc0a488b1a18d65246150
tree14e7e4e863383e8268c4a8d33749942ee47d37f0
parentaa651be83dfec5587dabce0a9d471c1e2095c33e
[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