All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] driver: of: overlay: demote message to warning
@ 2022-09-07 23:07 Daniel Walker
  2022-09-07 23:54 ` Frank Rowand
  0 siblings, 1 reply; 13+ messages in thread
From: Daniel Walker @ 2022-09-07 23:07 UTC (permalink / raw)
  To: Pantelis Antoniou, Frank Rowand, Rob Herring
  Cc: xe-linux-external, devicetree, linux-kernel

This warning message shows by default on the vast majority of overlays
applied. Despite the text identifying this as a warning it is marked
with the loglevel for error. At Cisco we filter the loglevels to only
show error messages. We end up seeing this message but it's not really
an error.

For this reason it makes sense to demote the message to the warning
loglevel.

Cc: xe-linux-external@cisco.com
Signed-off-by: Daniel Walker <danielwa@cisco.com>
---
 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 bd8ff4df723d..4ae276ed9a65 100644
--- a/drivers/of/overlay.c
+++ b/drivers/of/overlay.c
@@ -358,7 +358,7 @@ static int add_changeset_property(struct overlay_changeset *ovcs,
 	}
 
 	if (!of_node_check_flag(target->np, OF_OVERLAY))
-		pr_err("WARNING: memory leak will occur if overlay removed, property: %pOF/%s\n",
+		pr_warn("WARNING: memory leak will occur if overlay removed, property: %pOF/%s\n",
 		       target->np, new_prop->name);
 
 	if (ret) {
-- 
2.25.1


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

end of thread, other threads:[~2022-09-26 22:30 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-07 23:07 [PATCH] driver: of: overlay: demote message to warning Daniel Walker
2022-09-07 23:54 ` Frank Rowand
2022-09-08  0:35   ` Daniel Walker
2022-09-08 17:55     ` Frank Rowand
2022-09-12  6:45       ` Frank Rowand
2022-09-12 17:05         ` Daniel Walker
2022-09-12 20:32           ` Frank Rowand
2022-09-13  0:51             ` Daniel Walker
2022-09-16 22:47               ` Frank Rowand
2022-09-16 22:56                 ` Daniel Walker
2022-09-17  2:47                   ` Frank Rowand
2022-09-17  3:26                     ` Daniel Walker
2022-09-26 22:29                       ` Rob Herring

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.