All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] dm: fix formatting of uclass dump
@ 2022-04-19 16:46 Heinrich Schuchardt
  2022-06-28 13:38 ` Simon Glass
  0 siblings, 1 reply; 2+ messages in thread
From: Heinrich Schuchardt @ 2022-04-19 16:46 UTC (permalink / raw)
  To: Simon Glass; +Cc: u-boot, Heinrich Schuchardt

Insert an empty line after each uclass independent of whether it has
devices or not.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
---
 drivers/core/dump.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/core/dump.c b/drivers/core/dump.c
index f2f9cacc56..253e5bb4b5 100644
--- a/drivers/core/dump.c
+++ b/drivers/core/dump.c
@@ -89,8 +89,6 @@ void dm_dump_uclass(void)
 			continue;
 
 		printf("uclass %d: %s\n", id, uc->uc_drv->name);
-		if (list_empty(&uc->dev_head))
-			continue;
 		uclass_foreach_dev(dev, uc) {
 			dm_display_line(dev, i);
 			i++;
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 1/1] dm: fix formatting of uclass dump
  2022-04-19 16:46 [PATCH 1/1] dm: fix formatting of uclass dump Heinrich Schuchardt
@ 2022-06-28 13:38 ` Simon Glass
  0 siblings, 0 replies; 2+ messages in thread
From: Simon Glass @ 2022-06-28 13:38 UTC (permalink / raw)
  To: Heinrich Schuchardt; +Cc: u-boot, Simon Glass

Insert an empty line after each uclass independent of whether it has
devices or not.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
---
 drivers/core/dump.c | 2 --
 1 file changed, 2 deletions(-)

Applied to u-boot-dm, thanks!

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-06-28 13:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-19 16:46 [PATCH 1/1] dm: fix formatting of uclass dump Heinrich Schuchardt
2022-06-28 13:38 ` Simon Glass

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.