]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
scsi: lpfc: Fix SLI3 commands being issued on SLI4 devices
authorJames Smart <jsmart2021@gmail.com>
Tue, 12 Mar 2019 23:30:07 +0000 (16:30 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 11 Jun 2019 10:24:05 +0000 (12:24 +0200)
commit445c07409179239bc726b115a0318f6c9a185d63
treefe4c6cec1211a225552b9c8b390b7743bb70d0d2
parent3a5d1133289653cfc818223258d1a501063c200e
scsi: lpfc: Fix SLI3 commands being issued on SLI4 devices

[ Upstream commit c95a3b4b0fb8d351e2329a96f87c4fc96a149505 ]

During debug, it was seen that the driver is issuing commands specific to
SLI3 on SLI4 devices. Although the adapter correctly rejected the command,
this should not be done.

Revise the code to stop sending these commands on a SLI4 adapter.

Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <jsmart2021@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/scsi/lpfc/lpfc_hbadisc.c