Re: [U-Boot] [PATCH] dm: fix alignment in DM dump when 2-digit index exists

2018-09-17 Thread Simon Glass
Hi Masahiro, On 7 September 2018 at 13:15, Masahiro Yamada wrote: > If there exist 10 or more nodes of the same type, the alignment > of "dm tree" command is broken. > > Signed-off-by: Masahiro Yamada > --- > > drivers/core/dump.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) This se

Re: [U-Boot] [PATCH] dm: fix alignment in DM dump when 2-digit index exists

2018-09-07 Thread Bin Meng
On Fri, Sep 7, 2018 at 7:17 PM Masahiro Yamada wrote: > > If there exist 10 or more nodes of the same type, the alignment > of "dm tree" command is broken. > > Signed-off-by: Masahiro Yamada > --- > > drivers/core/dump.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Reviewed-by: Bin

Re: [U-Boot] [PATCH] dm: fix alignment in DM dump when 2-digit index exists

2018-09-07 Thread Marek Vasut
On 09/07/2018 01:15 PM, Masahiro Yamada wrote: > If there exist 10 or more nodes of the same type, the alignment > of "dm tree" command is broken. But what if there exist 100 or mode nodes of the same type ? :-) > Signed-off-by: Masahiro Yamada > --- > > drivers/core/dump.c | 2 +- > 1 file ch

[U-Boot] [PATCH] dm: fix alignment in DM dump when 2-digit index exists

2018-09-07 Thread Masahiro Yamada
If there exist 10 or more nodes of the same type, the alignment of "dm tree" command is broken. Signed-off-by: Masahiro Yamada --- drivers/core/dump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/core/dump.c b/drivers/core/dump.c index d7cdb14..c86f889 100644 ---