Subject: [Bug 216156] kmemleak: Not scanning unknown object at 0xc00000007f000000

From: [email-masked]
Date: Mon, 20 Jun 2022 23:30:55 +0000

https://bugzilla.kernel.org/show_bug.cgi?id=216156

--- Comment #2 from Erhard F. ([email-masked]) ---
Created attachment 301232
  --> https://bugzilla.kernel.org/attachment.cgi?id=301232&action=edit
cat /sys/kernel/debug/kmemleak

Apart from that kmemleak shows a lot of hits.

Only this patch was applied on top of 5.19-rc3 to prevent bug #216095:

diff --git a/drivers/of/platform.c b/drivers/of/platform.c
index 3507095a69f6..a70ff9df5cb9 100644
--- a/drivers/of/platform.c
+++ b/drivers/of/platform.c
@@ -556,7 +556,7 @@ static int __init of_platform_default_populate_init(void)
                        if (!of_get_property(node, "linux,opened", NULL) ||
                            !of_get_property(node, "linux,boot-display", NULL))
                                continue;
-                       dev = of_platform_device_create(node, "of-display",
NULL);
+                       dev = of_platform_device_create(node, NULL, NULL);
                        if (WARN_ON(!dev))
                                return -ENOMEM;
                        boot_display = node;
@@ -565,7 +565,7 @@ static int __init of_platform_default_populate_init(void)
                for_each_node_by_type(node, "display") {
                        if (!of_get_property(node, "linux,opened", NULL) ||
node == boot_display)
                                continue;
-                       of_platform_device_create(node, "of-display", NULL);
+                       of_platform_device_create(node, NULL, NULL);
                }

        } else {

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.