]> www.infradead.org Git - users/jedix/linux-maple.git/commit
qla2xxx: Add an "is reset active" helper.
authorAndrew Vasquez <andrew.vasquez@qlogic.com>
Mon, 27 Feb 2012 06:58:22 +0000 (12:28 +0530)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Wed, 9 May 2012 00:40:53 +0000 (17:40 -0700)
commit59f8231835f779bbcc355002c469dc3f91dd6ed6
tree857f9dd37cb0723462e6ebf1cd44a095349c285b
parent12074c752048e0ced3801766d4e9b306f0ab567f
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: Chad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.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