Re: [U-Boot] [PATCH v2 2/8] cpu: mpc83xx: Remove unnecessary characters in the description string
On Thu, Oct 11, 2018 at 4:02 AM Simon Glass wrote: > > On 7 October 2018 at 04:01, Bin Meng wrote: > > The description string should not contain unnecessary characters, > > like the ending '\n' or the leading 'CPU:'. > > > > Signed-off-by: Bin Meng > > --- > > > > Changes in v2: None > > > > drivers/cpu/mpc83xx_cpu.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > Reviewed-by: Simon Glass > Reviewed-by: Mario Six ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot
Re: [U-Boot] [PATCH v2 2/8] cpu: mpc83xx: Remove unnecessary characters in the description string
On 7 October 2018 at 04:01, Bin Meng wrote: > The description string should not contain unnecessary characters, > like the ending '\n' or the leading 'CPU:'. > > Signed-off-by: Bin Meng > --- > > Changes in v2: None > > drivers/cpu/mpc83xx_cpu.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Simon Glass ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot
[U-Boot] [PATCH v2 2/8] cpu: mpc83xx: Remove unnecessary characters in the description string
The description string should not contain unnecessary characters, like the ending '\n' or the leading 'CPU:'. Signed-off-by: Bin Meng --- 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 ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot