lpfc: Fix driver crash when module parameter lpfc_fcp_io_channel set to 16
authorJames Smart <james.smart@avagotech.com>
Wed, 16 Dec 2015 23:11:56 +0000 (18:11 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 Sep 2016 06:27:42 +0000 (08:27 +0200)
commit7cf5c223ccf949e6d5ef6b87c33edcad67a8ebbe
tree5206d5bb48e04482d102a76ea4bf5427c35359e6
parent0217efc5b83a7443c2234e5426493b2d06b7067c
lpfc: Fix driver crash when module parameter lpfc_fcp_io_channel set to 16

[ Upstream commit 6690e0d4fc5cccf74534abe0c9f9a69032bc02f0 ]

Fix driver crash when module parameter lpfc_fcp_io_channel set to 16

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_init.c