diff options
author | James Smart <James.Smart@Emulex.Com> | 2006-07-06 15:49:25 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-07-09 10:19:03 -0500 |
commit | e17da18e2f78845899467d6e580146ef673f5330 (patch) | |
tree | 756b7a096f86eaa05b93f5fb5f3c90dc3b65cee4 /drivers/scsi/lpfc/lpfc_scsi.c | |
parent | 5a0e326dfa6d87a1ac6929a7d6d327e8803b7aef (diff) | |
download | op-kernel-dev-e17da18e2f78845899467d6e580146ef673f5330.zip op-kernel-dev-e17da18e2f78845899467d6e580146ef673f5330.tar.gz |
[SCSI] lpfc 8.1.7: Standardize the driver on a single define for the maximum supported targets
Standardize the driver on a single define for the maximum supported targets.
Signed-off-by: James Smart <James.Smart@emulex.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
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 aea1ee4..5784688 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) * targets known to the driver. Should any target reset * fail, this routine returns failure to the midlayer. */ - for (i = 0; i < MAX_FCP_TARGET; i++) { + for (i = 0; i < LPFC_MAX_TARGET; i++) { /* Search the mapped list for this target ID */ match = 0; list_for_each_entry(ndlp, &phba->fc_nlpmap_list, nlp_listp) { |