aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/scsi/ipr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/ipr.c b/drivers/scsi/ipr.c
index b5a2669518ba..d47df3f9d226 100644
--- a/drivers/scsi/ipr.c
+++ b/drivers/scsi/ipr.c
@@ -4111,7 +4111,7 @@ static int ipr_set_supported_devs(struct ipr_cmnd *ipr_cmd)
4111 ipr_cmd->job_step = ipr_ioa_reset_done; 4111 ipr_cmd->job_step = ipr_ioa_reset_done;
4112 4112
4113 list_for_each_entry_continue(res, &ioa_cfg->used_res_q, queue) { 4113 list_for_each_entry_continue(res, &ioa_cfg->used_res_q, queue) {
4114 if (!ipr_is_af_dasd_device(res)) 4114 if (!IPR_IS_DASD_DEVICE(res->cfgte.std_inq_data))
4115 continue; 4115 continue;
4116 4116
4117 ipr_cmd->u.res = res; 4117 ipr_cmd->u.res = res;