diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-11-30 14:47:44 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-11-30 14:47:44 +0000 |
commit | fc84691a05c2838e2a527c186d5a778f0d0d48c2 (patch) | |
tree | 542329962d7177dce2481e277ade20381df7789b | |
parent | 42e4173e04511e333d27ef6c4b6f2c902cbc3e5e (diff) | |
download | patches-fc84691a05c2838e2a527c186d5a778f0d0d48c2.tar.gz |
-rw-r--r-- | 0001-driver-core-add-printk-debugging.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/0001-driver-core-add-printk-debugging.patch b/0001-driver-core-add-printk-debugging.patch index 1d5af6d396fa1a..39d3ccdc04ba6b 100644 --- a/0001-driver-core-add-printk-debugging.patch +++ b/0001-driver-core-add-printk-debugging.patch @@ -40,7 +40,7 @@ Helps when trying to find leaks #include <linux/device/class.h> #include <linux/device.h> #include <linux/module.h> -@@ -575,6 +577,7 @@ EXPORT_SYMBOL_GPL(class_compat_register) +@@ -573,6 +575,7 @@ EXPORT_SYMBOL_GPL(class_compat_register) */ void class_compat_unregister(struct class_compat *cls) { @@ -50,7 +50,7 @@ Helps when trying to find leaks } --- a/drivers/base/core.c +++ b/drivers/base/core.c -@@ -3851,6 +3851,7 @@ EXPORT_SYMBOL_GPL(device_del); +@@ -3852,6 +3852,7 @@ EXPORT_SYMBOL_GPL(device_del); void device_unregister(struct device *dev) { pr_debug("device: '%s': %s\n", dev_name(dev), __func__); @@ -58,7 +58,7 @@ Helps when trying to find leaks device_del(dev); put_device(dev); } -@@ -4275,6 +4276,7 @@ EXPORT_SYMBOL_GPL(root_device_unregister +@@ -4276,6 +4277,7 @@ EXPORT_SYMBOL_GPL(root_device_unregister static void device_create_release(struct device *dev) { pr_debug("device: '%s': %s\n", dev_name(dev), __func__); @@ -66,7 +66,7 @@ Helps when trying to find leaks kfree(dev); } -@@ -4409,6 +4411,7 @@ void device_destroy(const struct class * +@@ -4410,6 +4412,7 @@ void device_destroy(const struct class * dev = class_find_device_by_devt(class, devt); if (dev) { |