Skip to contentSkip to conversation

lpfc: fix model description

PATCH RESEND In review Sebastian Herbszt 2 participants 2 messages Jul 6, 2015 – Jul 10, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH RESEND 1/1 lpfc: fix model description

Remove trailing space from model description.

drivers/scsi/lpfc/lpfc_init.c renamed from drivers/scsi/lpfc.orig/lpfc_init.c +1 -1
diff -up 4.0/drivers/scsi/lpfc.orig/lpfc_init.c 4.0/drivers/scsi/lpfc/lpfc_init.c
@@ -2253,7 +2253,7 @@ lpfc_get_hba_model_desc(struct lpfc_hba
 				phba->Port);
 		else if (max_speed == 0)
 			snprintf(descp, 255,
-				"Emulex %s %s %s ",
+				"Emulex %s %s %s",
 				m.name, m.bus, m.function);
 		else
 			snprintf(descp, 255,
Reviewed-by on v1 1/1
#1 lore raw

As mentioned previously, it's a nit, and not too meaningful, but fine.

If not merged prior, we'll repost as part of an upcoming commit that cleans up sparse warnings.

-- james s

Quoted 17 lines · Sebastian Herbszt

Remove trailing space from model description.

diff -up 4.0/drivers/scsi/lpfc.orig/lpfc_init.c 4.0/drivers/scsi/lpfc/lpfc_init.c

drivers/scsi/lpfc/lpfc_init.c renamed from drivers/scsi/lpfc.orig/lpfc_init.c +1 -1
@@ -2253,7 +2253,7 @@ lpfc_get_hba_model_desc(struct lpfc_hba
  				phba->Port);
  		else if (max_speed == 0)
  			snprintf(descp, 255,
-				"Emulex %s %s %s ",
+				"Emulex %s %s %s",
  				m.name, m.bus, m.function);
  		else
  			snprintf(descp, 255,