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

Quentin Schulz foss+uboot at 0leil.net
Tue Jun 11 15:04:23 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>
---
Changes in v2:
- add missing dm/util.h header includes
- Link to v1: https://lore.kernel.org/r/20240610-misc-20240610-v1-0-6914f1725dd4@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   |  7 +++--
 drivers/core/lists.c     |  7 ++---
 drivers/core/of_access.c | 51 +++++++++++++++---------------
 drivers/core/of_addr.c   | 41 ++++++++++++------------
 drivers/core/of_extra.c  | 33 ++++++++++----------
 drivers/core/ofnode.c    | 81 ++++++++++++++++++++++++------------------------
 drivers/core/regmap.c    | 57 +++++++++++++++++-----------------
 drivers/core/root.c      | 14 ++++-----
 drivers/core/uclass.c    |  4 +--
 11 files changed, 152 insertions(+), 147 deletions(-)
---
base-commit: f9886bc60f42d5bcfcfa4e474af7dc230400b6be
change-id: 20240610-misc-20240610-f9dce050186b

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



More information about the U-Boot mailing list