diff options
author | James Smart <james.smart@emulex.com> | 2010-06-07 15:24:29 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-07-27 12:01:33 -0500 |
commit | 98fc5dd952ecfd3abff7c06e7a55a5eab4dd95b7 (patch) | |
tree | 58c28d09e771d4f590bf161efc71b2cf7a25f95b /drivers/scsi/lpfc/lpfc_vport.c | |
parent | b92938b41ee84b83347b62baa6daa0d06a742e94 (diff) | |
download | linux-98fc5dd952ecfd3abff7c06e7a55a5eab4dd95b7.tar.gz linux-98fc5dd952ecfd3abff7c06e7a55a5eab4dd95b7.tar.bz2 linux-98fc5dd952ecfd3abff7c06e7a55a5eab4dd95b7.zip |
[SCSI] lpfc 8.3.13: Misc fixes
- Change the Max receive size on CIN FCFs to 0x800
- (From linux community) Check boundary before checking for NULL.
- Update last completion time for completed I/O to prevent heartbeat.
- Add Balius PCI Device IDs
Signed-off-by: Alex Iannicelli <alex.iannicelli@emulex.com>
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_vport.c')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_vport.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/lpfc/lpfc_vport.c b/drivers/scsi/lpfc/lpfc_vport.c index ab91359bde20..1655507a682c 100644 --- a/drivers/scsi/lpfc/lpfc_vport.c +++ b/drivers/scsi/lpfc/lpfc_vport.c @@ -782,7 +782,7 @@ lpfc_destroy_vport_work_array(struct lpfc_hba *phba, struct lpfc_vport **vports) int i; if (vports == NULL) return; - for (i = 0; vports[i] != NULL && i <= phba->max_vports; i++) + for (i = 0; i <= phba->max_vports && vports[i] != NULL; i++) scsi_host_put(lpfc_shost_from_vport(vports[i])); kfree(vports); } |