[PATCH 0/4] dm: core: fix several debug messages and migrate debug() to dm_warn

Quentin Schulz foss+uboot at 0leil.net
Mon Jun 10 18:09:12 CEST 2024


Fix a few misleading or incorrect debug messages and prompt text for a
Kconfig symbol.

Migrate debug() messages to use dm_warn() instead so that we can print
them without selecting DM_DEBUG which does too much (e.g. makes assert()
reset U-boot if it fails).

Tested on top of next branch but it applies without complaints on top of
master as well, so up to you to which branch to merge it.

Signed-off-by: Quentin Schulz <quentin.schulz at cherry.de>
---
Quentin Schulz (4):
      dm: core: fix misleading debug message when matching compatible
      dm: core: fix signedness in debug messages
      dm: core: migrate debug() messages to use dm_warn
      dm: core: fix typo in SPL_DM_WARN prompt text

 drivers/core/Kconfig     |  2 +-
 drivers/core/device.c    |  2 +-
 drivers/core/fdtaddr.c   |  6 ++--
 drivers/core/lists.c     |  7 ++---
 drivers/core/of_access.c | 50 +++++++++++++++---------------
 drivers/core/of_addr.c   | 40 ++++++++++++------------
 drivers/core/of_extra.c  | 32 +++++++++----------
 drivers/core/ofnode.c    | 80 ++++++++++++++++++++++++------------------------
 drivers/core/regmap.c    | 56 ++++++++++++++++-----------------
 drivers/core/root.c      | 14 ++++-----
 drivers/core/uclass.c    |  4 +--
 11 files changed, 146 insertions(+), 147 deletions(-)
---
base-commit: 4f836fb324ba500ecabdba4146c3ca9e1600cdf5
change-id: 20240610-misc-20240610-f9dce050186b

Best regards,
-- 
Quentin Schulz <quentin.schulz at cherry.de>



More information about the U-Boot mailing list