diff options
author | Vikas Chaudhary <vikas.chaudhary@qlogic.com> | 2013-12-16 12:49:32 +0100 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2014-03-15 18:19:12 +0100 |
commit | a083e8bc839db0098301ebc483b83ff241e4fcdb (patch) | |
tree | e8f6e66c876ba58330de186435d04c0864117fce /drivers/scsi/qla4xxx/ql4_os.c | |
parent | [SCSI] qla4xxx: ISP8xxx: Correct retry of adapter initialization (diff) | |
download | linux-a083e8bc839db0098301ebc483b83ff241e4fcdb.tar.xz linux-a083e8bc839db0098301ebc483b83ff241e4fcdb.zip |
[SCSI] qla4xxx: Print WARN_ONCE() if iSCSI function presence bit removed
Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/qla4xxx/ql4_os.c')
-rw-r--r-- | drivers/scsi/qla4xxx/ql4_os.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/scsi/qla4xxx/ql4_os.c b/drivers/scsi/qla4xxx/ql4_os.c index 9803c9e3bc39..e6fa19cc0d32 100644 --- a/drivers/scsi/qla4xxx/ql4_os.c +++ b/drivers/scsi/qla4xxx/ql4_os.c @@ -4372,6 +4372,11 @@ void qla4_8xxx_watchdog(struct scsi_qla_host *ha) uint32_t dev_state; uint32_t idc_ctrl; + if (is_qla8032(ha) && + (qla4_83xx_is_detached(ha) == QLA_SUCCESS)) + WARN_ONCE(1, "%s: iSCSI function %d marked invisible\n", + __func__, ha->func_num); + /* don't poll if reset is going on */ if (!(test_bit(DPC_RESET_ACTIVE, &ha->dpc_flags) || test_bit(DPC_RESET_HA, &ha->dpc_flags) || |