]> git.ipfire.org Git - thirdparty/linux.git/commit
scsi: lpfc: Restrict the REG_FCFI MAM field to FCoE adapters only
authorJustin Tee <justin.tee@broadcom.com>
Thu, 12 Dec 2024 23:33:01 +0000 (15:33 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 2 Jan 2025 20:01:22 +0000 (15:01 -0500)
commit17cb5e986e7aec3f4f599636e0775a4133690b4d
treec9f18ff54664fddada0febffe2477e8531943f95
parent1ff0f95ade41d1f56ecad091e35baec6f479241c
scsi: lpfc: Restrict the REG_FCFI MAM field to FCoE adapters only

Qualify setting the REG_FCFI MAM field to FCoE adapters only by keying off
HBA_FCOE_MODE phba->hba_flag.  The field is not applicable to FC adapters.

Signed-off-by: Justin Tee <justin.tee@broadcom.com>
Link: https://lore.kernel.org/r/20241212233309.71356-3-justintee8345@gmail.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_mbox.c