mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Stefan Kerkmann <s.kerkmann@pengutronix.de>
To: Sascha Hauer <s.hauer@pengutronix.de>,
	 "open list:BAREBOX" <barebox@lists.infradead.org>
Cc: Stefan Kerkmann <s.kerkmann@pengutronix.de>
Subject: [PATCH 2/2] of: overlay: fix_path/apply_symbols: add more debugging calls
Date: Wed, 14 Oct 2026 17:09:23 +0200	[thread overview]
Message-ID: <20261014-fix-overlay-v1-2-cfd44746d985@pengutronix.de> (raw)
In-Reply-To: <20261014-fix-overlay-v1-0-cfd44746d985@pengutronix.de>

Signed-off-by: Stefan Kerkmann <s.kerkmann@pengutronix.de>
---
 drivers/of/overlay.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/drivers/of/overlay.c b/drivers/of/overlay.c
index 410c6d3565..83c947d044 100644
--- a/drivers/of/overlay.c
+++ b/drivers/of/overlay.c
@@ -114,6 +114,8 @@ static char *of_overlay_fix_path(struct device_node *root,
 		return NULL;
 	}
 
+	pr_debug("using fragment %pOF\n", fragment);
+
 	target = find_target(root, fragment, false);
 	if (!target)
 		return ERR_PTR(-EINVAL);
@@ -157,8 +159,8 @@ static int of_overlay_apply_symbols(struct device_node *root,
 		if (!new_path)
 			continue;
 
-		pr_debug("add symbol %s with new path %s\n",
-			 prop->name, new_path);
+		pr_debug("add symbol %s with new path %s (was %s)\n",
+			 prop->name, new_path, old_path);
 		of_property_write_string(root_symbols, prop->name, new_path);
 		free(new_path);
 	}

-- 
2.47.3




  parent reply	other threads:[~2026-10-14 15:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-14 15:09 [PATCH 0/2] of: overlay: of_overlay_fix_path: allow symbols without __overlay__ Stefan Kerkmann
2026-10-14 15:09 ` [PATCH 1/2] " Stefan Kerkmann
2026-10-14 15:09 ` Stefan Kerkmann [this message]
2026-10-15 11:03 ` [PATCH 0/2] " Stefan Kerkmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261014-fix-overlay-v1-2-cfd44746d985@pengutronix.de \
    --to=s.kerkmann@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=s.hauer@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox