diff options
author | James Smart <jsmart2021@gmail.com> | 2019-03-13 02:30:22 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2019-03-19 20:15:09 +0300 |
commit | f4f87861d9d8029536b8edecc8c28dc3e0c21fc8 (patch) | |
tree | c4ece4a45dbf52d5f669d37212b782e6a83af86e /drivers/scsi/lpfc/lpfc_ct.c | |
parent | 32a80c093b524a0682f1c6166c910387b116ffce (diff) | |
download | linux-f4f87861d9d8029536b8edecc8c28dc3e0c21fc8.tar.xz |
scsi: lpfc: Fix HDMI2 registration string for symbolic name
The switch is rejecting FDMI2 registration for symbolic name. There is a
"\n" in the name string, which the switch dislikes thus rejects the
registration.
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>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_ct.c')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_ct.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/lpfc/lpfc_ct.c b/drivers/scsi/lpfc/lpfc_ct.c index 48a3633bce67..c58cff60912e 100644 --- a/drivers/scsi/lpfc/lpfc_ct.c +++ b/drivers/scsi/lpfc/lpfc_ct.c @@ -1463,7 +1463,7 @@ lpfc_vport_symbolic_node_name(struct lpfc_vport *vport, char *symbol, return n; /* Note :- OS name is "Linux" */ - n += snprintf(symbol + n, size - n, " OS:%s\n", + n += snprintf(symbol + n, size - n, " OS:%s", init_utsname()->sysname); return n; } |