summaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
authorJames Smart2019-03-13 00:30:20 +0100
committerGreg Kroah-Hartman2019-05-31 15:46:33 +0200
commitaecb245fdd90109332cce7ff9b75bc789f755fb3 (patch)
tree84f7120f768e91e0d416281fd41d211070e372c8 /drivers/scsi
parentmedia: vimc: zero the media_device on probe (diff)
downloadkernel-qcow2-linux-aecb245fdd90109332cce7ff9b75bc789f755fb3.tar.gz
kernel-qcow2-linux-aecb245fdd90109332cce7ff9b75bc789f755fb3.tar.xz
kernel-qcow2-linux-aecb245fdd90109332cce7ff9b75bc789f755fb3.zip
scsi: lpfc: Fix FDMI manufacturer attribute value
[ Upstream commit d67f935b79a76ac9d86dde1a27bdd413feb5d987 ] The FDMI manufacturer value being reported on Linux is inconsistent with other OS's. Set the value to "Emulex Corporation" for consistency. 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>
Diffstat (limited to 'drivers/scsi')
-rw-r--r--drivers/scsi/lpfc/lpfc_ct.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/scsi/lpfc/lpfc_ct.c b/drivers/scsi/lpfc/lpfc_ct.c
index 1a964e71582f..06621a438cad 100644
--- a/drivers/scsi/lpfc/lpfc_ct.c
+++ b/drivers/scsi/lpfc/lpfc_ct.c
@@ -1762,6 +1762,9 @@ lpfc_fdmi_hba_attr_manufacturer(struct lpfc_vport *vport,
ae = (struct lpfc_fdmi_attr_entry *)&ad->AttrValue;
memset(ae, 0, 256);
+ /* This string MUST be consistent with other FC platforms
+ * supported by Broadcom.
+ */
strncpy(ae->un.AttrString,
"Emulex Corporation",
sizeof(ae->un.AttrString));