lpfc: Fix FCF Infinite loop in lpfc_sli4_fcf_rr_next_index_get.
authorJames Smart <james.smart@avagotech.com>
Wed, 16 Dec 2015 23:11:52 +0000 (18:11 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 Sep 2016 06:27:41 +0000 (08:27 +0200)
commit3f499a426420ab8b6f5c5a8a728cd6f713b5f398
tree097eaf9f20792e60cf0eeb3a01fdd789bc7a862b
parentbcc975680df41bddcff13c3477087c7f51280b00
lpfc: Fix FCF Infinite loop in lpfc_sli4_fcf_rr_next_index_get.

[ Upstream commit f5cb5304eb26d307c9b30269fb0e007e0b262b7d ]

Fix FCF Infinite loop in lpfc_sli4_fcf_rr_next_index_get.

Signed-off-by: Dick Kennedy <dick.kennedy@avagotech.com>
Signed-off-by: James Smart <james.smart@avagotech.com>
Reviewed-by: Hannes Reinicke <hare@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/scsi/lpfc/lpfc_sli.c