mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 10:31:46 +09:00
scsi: lpfc: Fix FDMI manufacturer attribute value
[ Upstream commit d67f935b79 ]
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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
5cacdab854
commit
a970afc8b8
@@ -1734,6 +1734,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));
|
||||
|
||||
Reference in New Issue
Block a user