diff options
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_scsi.c')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_scsi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/lpfc/lpfc_scsi.c b/drivers/scsi/lpfc/lpfc_scsi.c index aea1ee472f3d..578468810416 100644 --- a/drivers/scsi/lpfc/lpfc_scsi.c +++ b/drivers/scsi/lpfc/lpfc_scsi.c | |||
@@ -1078,7 +1078,7 @@ lpfc_reset_bus_handler(struct scsi_cmnd *cmnd) | |||
1078 | * targets known to the driver. Should any target reset | 1078 | * targets known to the driver. Should any target reset |
1079 | * fail, this routine returns failure to the midlayer. | 1079 | * fail, this routine returns failure to the midlayer. |
1080 | */ | 1080 | */ |
1081 | for (i = 0; i < MAX_FCP_TARGET; i++) { | 1081 | for (i = 0; i < LPFC_MAX_TARGET; i++) { |
1082 | /* Search the mapped list for this target ID */ | 1082 | /* Search the mapped list for this target ID */ |
1083 | match = 0; | 1083 | match = 0; |
1084 | list_for_each_entry(ndlp, &phba->fc_nlpmap_list, nlp_listp) { | 1084 | list_for_each_entry(ndlp, &phba->fc_nlpmap_list, nlp_listp) { |