]> 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>
Fri, 31 May 2019 13:45:20 +0000 (06:45 -0700)
commitf5dde36ee952783f928ff42d0d9a9ce1a55c92a4
tree884241b7fd40c2051004fd060ea41d4b1b54fd7e
parent5ee57b325d33967937f92ccfb73937efb324562f
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