]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: lpfc: Fix duplicate wq_create_version check
authorJames Smart <james.smart@broadcom.com>
Tue, 20 Oct 2020 20:27:15 +0000 (13:27 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 27 Oct 2020 01:42:38 +0000 (21:42 -0400)
commitd94967b1d9ba5d64da8ec8b695e6e60c758396b0
tree89fe6f2f56182d4d0cd63e648a7c482244ecee36
parentc5d7bceff37d11c65c7a55520f4b9a400d1b8d01
scsi: lpfc: Fix duplicate wq_create_version check

During code reviews duplicate code sections were found to determine the WQ
Create version.  The duplication was potentially overriding logic that
validated page size.

Link: https://lore.kernel.org/r/20201020202719.54726-6-james.smart@broadcom.com
Signed-off-by: James Smart <james.smart@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_sli.c