Loading drivers/scsi/lpfc/lpfc_ct.c +19 −2 Original line number Diff line number Diff line Loading @@ -1074,8 +1074,25 @@ lpfc_vport_symbolic_node_name(struct lpfc_vport *vport, char *symbol, lpfc_decode_firmware_rev(vport->phba, fwrev, 0); n = snprintf(symbol, size, "Emulex %s FV%s DV%s", vport->phba->ModelName, fwrev, lpfc_release_version); n = snprintf(symbol, size, "Emulex %s", vport->phba->ModelName); if (size < n) return n; n += snprintf(symbol + n, size - n, " FV%s", fwrev); if (size < n) return n; n += snprintf(symbol + n, size - n, " DV%s", lpfc_release_version); if (size < n) return n; n += snprintf(symbol + n, size - n, " HN:%s", init_utsname()->nodename); /* Note :- OS name is "Linux" */ if (size < n) return n; n += snprintf(symbol + n, size - n, " OS:%s", init_utsname()->sysname); return n; } Loading Loading
drivers/scsi/lpfc/lpfc_ct.c +19 −2 Original line number Diff line number Diff line Loading @@ -1074,8 +1074,25 @@ lpfc_vport_symbolic_node_name(struct lpfc_vport *vport, char *symbol, lpfc_decode_firmware_rev(vport->phba, fwrev, 0); n = snprintf(symbol, size, "Emulex %s FV%s DV%s", vport->phba->ModelName, fwrev, lpfc_release_version); n = snprintf(symbol, size, "Emulex %s", vport->phba->ModelName); if (size < n) return n; n += snprintf(symbol + n, size - n, " FV%s", fwrev); if (size < n) return n; n += snprintf(symbol + n, size - n, " DV%s", lpfc_release_version); if (size < n) return n; n += snprintf(symbol + n, size - n, " HN:%s", init_utsname()->nodename); /* Note :- OS name is "Linux" */ if (size < n) return n; n += snprintf(symbol + n, size - n, " OS:%s", init_utsname()->sysname); return n; } Loading