]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: lpfc: Move MI module parameter check to handle dynamic disable
authorJames Smart <jsmart2021@gmail.com>
Tue, 12 Apr 2022 22:19:55 +0000 (15:19 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 19 Apr 2022 02:48:45 +0000 (22:48 -0400)
commitb6198a7d279aa5378e91160b2ada01e1434ecda4
tree66e0b4a52ed86b9a1b6e031e2f658cb023f39cc5
parent7b8a2d19b921bf27ec5cc259808f4503e914348d
scsi: lpfc: Move MI module parameter check to handle dynamic disable

lpfc_refresh_params() can be called for an async event handler. This could
potentially override the value initialized by lpfc_cmf_setup().

Move module parameter check to lpfc_refresh_params().

Link: https://lore.kernel.org/r/20220412222008.126521-14-jsmart2021@gmail.com
Co-developed-by: Justin Tee <justin.tee@broadcom.com>
Signed-off-by: Justin Tee <justin.tee@broadcom.com>
Signed-off-by: James Smart <jsmart2021@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_init.c
drivers/scsi/lpfc/lpfc_sli.c