All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bin Meng <bmeng.cn@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v3 2/8] cpu: mpc83xx: Remove unnecessary characters in the description string
Date: Wed, 10 Oct 2018 22:06:56 -0700	[thread overview]
Message-ID: <1539234422-1357-3-git-send-email-bmeng.cn@gmail.com> (raw)
In-Reply-To: <1539234422-1357-1-git-send-email-bmeng.cn@gmail.com>

The description string should not contain unnecessary characters,
like the ending '\n' or the leading 'CPU:'.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
---

Changes in v3: None
Changes in v2: None

 drivers/cpu/mpc83xx_cpu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/cpu/mpc83xx_cpu.c b/drivers/cpu/mpc83xx_cpu.c
index 31717af..7bc86bf 100644
--- a/drivers/cpu/mpc83xx_cpu.c
+++ b/drivers/cpu/mpc83xx_cpu.c
@@ -262,7 +262,7 @@ static int mpc83xx_cpu_get_desc(struct udevice *dev, char *buf, int size)
 	determine_cpu_data(dev);
 
 	snprintf(buf, size,
-		 "CPU:   %s, MPC%s%s%s, Rev: %d.%d at %s MHz, CSB: %s MHz\n",
+		 "%s, MPC%s%s%s, Rev: %d.%d at %s MHz, CSB: %s MHz",
 		 e300_names[priv->e300_type],
 		 cpu_type_names[priv->type],
 		 priv->is_e_processor ? "E" : "",
-- 
2.7.4

  parent reply	other threads:[~2018-10-11  5:06 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-11  5:06 [U-Boot] [PATCH v3 0/8] dm: Various fixes in dm core/cpu/timer Bin Meng
2018-10-11  5:06 ` [U-Boot] [PATCH v3 1/8] dm: cpu: Fix print_cpuinfo() output Bin Meng
2018-10-11  5:06 ` Bin Meng [this message]
2018-10-11  5:06 ` [U-Boot] [PATCH v3 3/8] dm: util: Add a livetree equivalent API of dm_fdt_pre_reloc() Bin Meng
2018-10-11  5:06 ` [U-Boot] [PATCH v3 4/8] dm: core: Respect drivers with the DM_FLAG_PRE_RELOC flag in lists_bind_fdt() Bin Meng
2018-11-10 14:11   ` Auer, Lukas
2018-11-11  4:48     ` Bin Meng
2018-10-11  5:06 ` [U-Boot] [PATCH v3 5/8] dm: Correct pre_reloc_only parameter description in several APIs' comments Bin Meng
2018-10-11  5:07 ` [U-Boot] [PATCH v3 6/8] dm: core: Mirror the chosen node parse logic in the livetree scanning Bin Meng
2018-10-11  5:07 ` [U-Boot] [PATCH v3 7/8] test: dm: core: Add a test case for driver marked with DM_FLAG_PRE_RELOC flag Bin Meng
2018-10-11  5:07 ` [U-Boot] [PATCH v3 8/8] timer: Sort Kconfig driver entries Bin Meng
2018-10-15 19:58 ` [U-Boot] [PATCH v3 7/8] test: dm: core: Add a test case for driver marked with DM_FLAG_PRE_RELOC flag sjg at google.com
2018-10-15 19:58 ` [U-Boot] [PATCH v3 8/8] timer: Sort Kconfig driver entries sjg at google.com
2018-10-15 19:58 ` [U-Boot] [PATCH v3 6/8] dm: core: Mirror the chosen node parse logic in the livetree scanning sjg at google.com
2018-10-15 19:58 ` [U-Boot] [PATCH v3 5/8] dm: Correct pre_reloc_only parameter description in several APIs' comments sjg at google.com
2018-10-15 19:58 ` [U-Boot] [PATCH v3 4/8] dm: core: Respect drivers with the DM_FLAG_PRE_RELOC flag in lists_bind_fdt() sjg at google.com
2018-10-15 19:58 ` [U-Boot] [PATCH v3 3/8] dm: util: Add a livetree equivalent API of dm_fdt_pre_reloc() sjg at google.com
2018-10-15 19:58 ` [U-Boot] [PATCH v3 2/8] cpu: mpc83xx: Remove unnecessary characters in the description string sjg at google.com
2018-10-15 19:58 ` [U-Boot] [PATCH v3 1/8] dm: cpu: Fix print_cpuinfo() output sjg at google.com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1539234422-1357-3-git-send-email-bmeng.cn@gmail.com \
    --to=bmeng.cn@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.