From: rkennedy Date: Tue, 13 Oct 2015 19:48:15 +0000 (-0700) Subject: lpfc: fix model description X-Git-Tag: v4.1.12-92~249^2~3^2~13 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=fbcd70de382b60f1ff094e0be0bd7994bebce15f;p=users%2Fjedix%2Flinux-maple.git lpfc: fix model description Submitted by james.smart () james.smart.()@emulex.comSubmitted by Sebastian Herbszt Sebastian.Herbszt@emulex.com From: Sebastian Herbszt herbszt@gmx.de Remove trailing space from model description. Signed-off-by: Sebastian Herbszt herbszt@gmx.de Signed-off-by: James Smart james.smart@avagotech.com http://marc.info/?l=linux-scsi&m=144105410703733&w=2 Orabug: 22029622 From dick.kennedy@avagotech.com lpfc-10.5.0.1-11.0.0.3-1.tar.gz Acked-by: Chuck Anderson --- diff --git a/comment_file.txt b/comment_file.txt new file mode 100644 index 0000000000000..e69de29bb2d1d diff --git a/drivers/scsi/lpfc/lpfc_init.c b/drivers/scsi/lpfc/lpfc_init.c index f962118da8eda..1992e74ec8858 100644 --- a/drivers/scsi/lpfc/lpfc_init.c +++ b/drivers/scsi/lpfc/lpfc_init.c @@ -2253,7 +2253,7 @@ lpfc_get_hba_model_desc(struct lpfc_hba *phba, uint8_t *mdp, uint8_t *descp) 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,