mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] of: overlay: fix warning about format specifier in debug message
@ 2021-01-31 20:38 Ahmad Fatoum
  2021-02-01  8:33 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Ahmad Fatoum @ 2021-01-31 20:38 UTC (permalink / raw)
  To: barebox

GCC catches a -Wformat-extra-args. Fix it.

Signed-off-by: Ahmad Fatoum <ahmad@a3f.at>
---
 drivers/of/overlay.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/of/overlay.c b/drivers/of/overlay.c
index e2a68b0ae8bd..8f4ee3f0a245 100644
--- a/drivers/of/overlay.c
+++ b/drivers/of/overlay.c
@@ -223,7 +223,7 @@ int of_process_overlay(struct device_node *root,
 
 		target = find_target(root, fragment);
 		if (!target)
-			pr_debug("cannot find target for fragment",
+			pr_debug("cannot find target for fragment %s\n",
 				 fragment->name);
 
 		err = process(target, ovl, data);
-- 
2.30.0


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

end of thread, other threads:[~2021-02-01  8:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-31 20:38 [PATCH] of: overlay: fix warning about format specifier in debug message Ahmad Fatoum
2021-02-01  8:33 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox