diff options
author | John Klug <john.klug@multitech.com> | 2022-02-17 12:21:52 -0600 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2022-02-17 12:21:52 -0600 |
commit | c2d055e0f51fedcfcff8158bd986bad86b879908 (patch) | |
tree | c0f239b0a6ca044088c60238bcb57116415159e4 | |
parent | c0bd6a11f41cfb9a5c4ef84c650545b702974079 (diff) | |
download | meta-multitech-atmel-c2d055e0f51fedcfcff8158bd986bad86b879908.tar.gz meta-multitech-atmel-c2d055e0f51fedcfcff8158bd986bad86b879908.tar.bz2 meta-multitech-atmel-c2d055e0f51fedcfcff8158bd986bad86b879908.zip |
Move device tree overlay warning to debug status
-rw-r--r-- | recipes-kernel/linux/linux-at91-5.4.81/linux-5.4-quiet-overlay.patch | 16 |
1 files changed, 16 insertions, 0 deletions
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) { |