From c2d055e0f51fedcfcff8158bd986bad86b879908 Mon Sep 17 00:00:00 2001 From: John Klug Date: Thu, 17 Feb 2022 12:21:52 -0600 Subject: Move device tree overlay warning to debug status --- .../linux-at91-5.4.81/linux-5.4-quiet-overlay.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 recipes-kernel/linux/linux-at91-5.4.81/linux-5.4-quiet-overlay.patch diff --git a/recipes-kernel/linux/linux-at91-5.4.81/linux-5.4-quiet-overlay.patch b/recipes-kernel/linux/linux-at91-5.4.81/linux-5.4-quiet-overlay.patch new file mode 100644 index 0000000..383cc21 --- /dev/null +++ b/recipes-kernel/linux/linux-at91-5.4.81/linux-5.4-quiet-overlay.patch @@ -0,0 +1,16 @@ +Remove warning on every gpio pin allocated from +device tree. +================================================ +diff --git a/drivers/of/overlay.c b/drivers/of/overlay.c +index 1688f576ee8a..eae7c9d72c1a 100644 +--- a/drivers/of/overlay.c ++++ b/drivers/of/overlay.c +@@ -362,7 +362,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_debug("WARNING: memory leak will occur if overlay removed, property: %pOF/%s\n", + target->np, new_prop->name); + + if (ret) { -- cgit v1.2.3