]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: lpfc: correct port registrations with nvme_fc
authorJames Smart <jsmart2021@gmail.com>
Tue, 21 Nov 2017 00:00:39 +0000 (16:00 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 5 Dec 2017 01:32:54 +0000 (20:32 -0500)
commitf4d9bb7ab25ab72677a5a6d51db5b83f809a8d26
tree117a860ed0e45b34643c359ae63d948e0f2a26e2
parentc35a626861a2d326de0dd7f49a64614473535a99
scsi: lpfc: correct port registrations with nvme_fc

The driver currently registers any remote port that has NVME support.
It should only be registering target ports.

Register only target ports.

Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <james.smart@broadcom.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_hbadisc.c
drivers/scsi/lpfc/lpfc_nvme.c