]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
drop fbdev patch that was causing build problems on some arches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 4 Sep 2024 09:31:25 +0000 (11:31 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 4 Sep 2024 09:31:25 +0000 (11:31 +0200)
queue-4.19/fbdev-offb-replace-of_node_put-with-__free-device_no.patch [deleted file]
queue-4.19/series
queue-5.10/fbdev-offb-replace-of_node_put-with-__free-device_no.patch [deleted file]
queue-5.10/series
queue-5.15/fbdev-offb-replace-of_node_put-with-__free-device_no.patch [deleted file]
queue-5.15/series
queue-5.4/fbdev-offb-replace-of_node_put-with-__free-device_no.patch [deleted file]
queue-5.4/series

diff --git a/queue-4.19/fbdev-offb-replace-of_node_put-with-__free-device_no.patch b/queue-4.19/fbdev-offb-replace-of_node_put-with-__free-device_no.patch
deleted file mode 100644 (file)
index ef8520a..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-From bd7378b4c91f74c593c678515d52900f2e9a3fc6 Mon Sep 17 00:00:00 2001
-From: Sasha Levin <sashal@kernel.org>
-Date: Mon, 22 Apr 2024 21:20:21 -0400
-Subject: fbdev: offb: replace of_node_put with __free(device_node)
-
-From: Abdulrasaq Lawani <abdulrasaqolawani@gmail.com>
-
-[ Upstream commit ce4a7ae84a58b9f33aae8d6c769b3c94f3d5ce76 ]
-
-Replaced instance of of_node_put with __free(device_node)
-to simplify code and protect against any memory leaks
-due to future changes in the control flow.
-
-Suggested-by: Julia Lawall <julia.lawall@inria.fr>
-Signed-off-by: Abdulrasaq Lawani <abdulrasaqolawani@gmail.com>
-Signed-off-by: Helge Deller <deller@gmx.de>
-Signed-off-by: Sasha Levin <sashal@kernel.org>
----
- drivers/video/fbdev/offb.c | 3 +--
- 1 file changed, 1 insertion(+), 2 deletions(-)
-
-diff --git a/drivers/video/fbdev/offb.c b/drivers/video/fbdev/offb.c
-index 77c0a2f45b3b9..b52c6080abe44 100644
---- a/drivers/video/fbdev/offb.c
-+++ b/drivers/video/fbdev/offb.c
-@@ -352,7 +352,7 @@ static void offb_init_palette_hacks(struct fb_info *info, struct device_node *dp
-                       par->cmap_type = cmap_gxt2000;
-       } else if (dp && !strncmp(name, "vga,Display-", 12)) {
-               /* Look for AVIVO initialized by SLOF */
--              struct device_node *pciparent = of_get_parent(dp);
-+              struct device_node *pciparent __free(device_node) = of_get_parent(dp);
-               const u32 *vid, *did;
-               vid = of_get_property(pciparent, "vendor-id", NULL);
-               did = of_get_property(pciparent, "device-id", NULL);
-@@ -364,7 +364,6 @@ static void offb_init_palette_hacks(struct fb_info *info, struct device_node *dp
-                       if (par->cmap_adr)
-                               par->cmap_type = cmap_avivo;
-               }
--              of_node_put(pciparent);
-       } else if (dp && of_device_is_compatible(dp, "qemu,std-vga")) {
- #ifdef __BIG_ENDIAN
-               const __be32 io_of_addr[3] = { 0x01000000, 0x0, 0x0 };
--- 
-2.43.0
-
index 7e51bfcc1326ec2dbbf49170b99e8c4a67935cd9..45e51ccfdf57362417a574b970303c0358cffb63 100644 (file)
@@ -44,7 +44,6 @@ nfs-avoid-infinite-loop-in-pnfs_update_layout.patch
 openrisc-call-setup_memory-earlier-in-the-init-seque.patch
 s390-iucv-fix-receive-buffer-virtual-vs-physical-add.patch
 usb-dwc3-core-skip-setting-event-buffers-for-host-on.patch
-fbdev-offb-replace-of_node_put-with-__free-device_no.patch
 irqchip-gic-v3-its-remove-bug_on-in-its_vpe_irq_doma.patch
 ext4-set-the-type-of-max_zeroout-to-unsigned-int-to-.patch
 nvmet-rdma-fix-possible-bad-dereference-when-freeing.patch
diff --git a/queue-5.10/fbdev-offb-replace-of_node_put-with-__free-device_no.patch b/queue-5.10/fbdev-offb-replace-of_node_put-with-__free-device_no.patch
deleted file mode 100644 (file)
index bdd85fd..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-From 2101a7272ee0ea39b7ee178ffc8026a4754b8637 Mon Sep 17 00:00:00 2001
-From: Sasha Levin <sashal@kernel.org>
-Date: Mon, 22 Apr 2024 21:20:21 -0400
-Subject: fbdev: offb: replace of_node_put with __free(device_node)
-
-From: Abdulrasaq Lawani <abdulrasaqolawani@gmail.com>
-
-[ Upstream commit ce4a7ae84a58b9f33aae8d6c769b3c94f3d5ce76 ]
-
-Replaced instance of of_node_put with __free(device_node)
-to simplify code and protect against any memory leaks
-due to future changes in the control flow.
-
-Suggested-by: Julia Lawall <julia.lawall@inria.fr>
-Signed-off-by: Abdulrasaq Lawani <abdulrasaqolawani@gmail.com>
-Signed-off-by: Helge Deller <deller@gmx.de>
-Signed-off-by: Sasha Levin <sashal@kernel.org>
----
- drivers/video/fbdev/offb.c | 3 +--
- 1 file changed, 1 insertion(+), 2 deletions(-)
-
-diff --git a/drivers/video/fbdev/offb.c b/drivers/video/fbdev/offb.c
-index 4501e848a36f2..766adaf2618c5 100644
---- a/drivers/video/fbdev/offb.c
-+++ b/drivers/video/fbdev/offb.c
-@@ -354,7 +354,7 @@ static void offb_init_palette_hacks(struct fb_info *info, struct device_node *dp
-                       par->cmap_type = cmap_gxt2000;
-       } else if (of_node_name_prefix(dp, "vga,Display-")) {
-               /* Look for AVIVO initialized by SLOF */
--              struct device_node *pciparent = of_get_parent(dp);
-+              struct device_node *pciparent __free(device_node) = of_get_parent(dp);
-               const u32 *vid, *did;
-               vid = of_get_property(pciparent, "vendor-id", NULL);
-               did = of_get_property(pciparent, "device-id", NULL);
-@@ -366,7 +366,6 @@ static void offb_init_palette_hacks(struct fb_info *info, struct device_node *dp
-                       if (par->cmap_adr)
-                               par->cmap_type = cmap_avivo;
-               }
--              of_node_put(pciparent);
-       } else if (dp && of_device_is_compatible(dp, "qemu,std-vga")) {
- #ifdef __BIG_ENDIAN
-               const __be32 io_of_addr[3] = { 0x01000000, 0x0, 0x0 };
--- 
-2.43.0
-
index 3595dd6184f05629788569ece9e38ce072fba90f..eebae59984bd93f967911bdb5698e93ee28dd961 100644 (file)
@@ -74,7 +74,6 @@ nfs-avoid-infinite-loop-in-pnfs_update_layout.patch
 openrisc-call-setup_memory-earlier-in-the-init-seque.patch
 s390-iucv-fix-receive-buffer-virtual-vs-physical-add.patch
 usb-dwc3-core-skip-setting-event-buffers-for-host-on.patch
-fbdev-offb-replace-of_node_put-with-__free-device_no.patch
 irqchip-gic-v3-its-remove-bug_on-in-its_vpe_irq_doma.patch
 ext4-set-the-type-of-max_zeroout-to-unsigned-int-to-.patch
 nvmet-rdma-fix-possible-bad-dereference-when-freeing.patch
diff --git a/queue-5.15/fbdev-offb-replace-of_node_put-with-__free-device_no.patch b/queue-5.15/fbdev-offb-replace-of_node_put-with-__free-device_no.patch
deleted file mode 100644 (file)
index a58591d..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-From 9b7cb86683b052d647bcc6b28f576dfb53438f24 Mon Sep 17 00:00:00 2001
-From: Sasha Levin <sashal@kernel.org>
-Date: Mon, 22 Apr 2024 21:20:21 -0400
-Subject: fbdev: offb: replace of_node_put with __free(device_node)
-
-From: Abdulrasaq Lawani <abdulrasaqolawani@gmail.com>
-
-[ Upstream commit ce4a7ae84a58b9f33aae8d6c769b3c94f3d5ce76 ]
-
-Replaced instance of of_node_put with __free(device_node)
-to simplify code and protect against any memory leaks
-due to future changes in the control flow.
-
-Suggested-by: Julia Lawall <julia.lawall@inria.fr>
-Signed-off-by: Abdulrasaq Lawani <abdulrasaqolawani@gmail.com>
-Signed-off-by: Helge Deller <deller@gmx.de>
-Signed-off-by: Sasha Levin <sashal@kernel.org>
----
- drivers/video/fbdev/offb.c | 3 +--
- 1 file changed, 1 insertion(+), 2 deletions(-)
-
-diff --git a/drivers/video/fbdev/offb.c b/drivers/video/fbdev/offb.c
-index 4501e848a36f2..766adaf2618c5 100644
---- a/drivers/video/fbdev/offb.c
-+++ b/drivers/video/fbdev/offb.c
-@@ -354,7 +354,7 @@ static void offb_init_palette_hacks(struct fb_info *info, struct device_node *dp
-                       par->cmap_type = cmap_gxt2000;
-       } else if (of_node_name_prefix(dp, "vga,Display-")) {
-               /* Look for AVIVO initialized by SLOF */
--              struct device_node *pciparent = of_get_parent(dp);
-+              struct device_node *pciparent __free(device_node) = of_get_parent(dp);
-               const u32 *vid, *did;
-               vid = of_get_property(pciparent, "vendor-id", NULL);
-               did = of_get_property(pciparent, "device-id", NULL);
-@@ -366,7 +366,6 @@ static void offb_init_palette_hacks(struct fb_info *info, struct device_node *dp
-                       if (par->cmap_adr)
-                               par->cmap_type = cmap_avivo;
-               }
--              of_node_put(pciparent);
-       } else if (dp && of_device_is_compatible(dp, "qemu,std-vga")) {
- #ifdef __BIG_ENDIAN
-               const __be32 io_of_addr[3] = { 0x01000000, 0x0, 0x0 };
--- 
-2.43.0
-
index e99de7c5a1ba986a6432e41a1f5b58c599947b70..f412f58985395f5d77c590b339e16c8a39ce555e 100644 (file)
@@ -100,7 +100,6 @@ s390-iucv-fix-receive-buffer-virtual-vs-physical-add.patch
 clocksource-make-watchdog-and-suspend-timing-multipl.patch
 platform-x86-lg-laptop-fix-s-null-argument-warning.patch
 usb-dwc3-core-skip-setting-event-buffers-for-host-on.patch
-fbdev-offb-replace-of_node_put-with-__free-device_no.patch
 irqchip-gic-v3-its-remove-bug_on-in-its_vpe_irq_doma.patch
 ext4-set-the-type-of-max_zeroout-to-unsigned-int-to-.patch
 nvmet-rdma-fix-possible-bad-dereference-when-freeing.patch
diff --git a/queue-5.4/fbdev-offb-replace-of_node_put-with-__free-device_no.patch b/queue-5.4/fbdev-offb-replace-of_node_put-with-__free-device_no.patch
deleted file mode 100644 (file)
index c62cf31..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-From da3edf472393103b800f9fb7a9ab5cd1f4e2a955 Mon Sep 17 00:00:00 2001
-From: Sasha Levin <sashal@kernel.org>
-Date: Mon, 22 Apr 2024 21:20:21 -0400
-Subject: fbdev: offb: replace of_node_put with __free(device_node)
-
-From: Abdulrasaq Lawani <abdulrasaqolawani@gmail.com>
-
-[ Upstream commit ce4a7ae84a58b9f33aae8d6c769b3c94f3d5ce76 ]
-
-Replaced instance of of_node_put with __free(device_node)
-to simplify code and protect against any memory leaks
-due to future changes in the control flow.
-
-Suggested-by: Julia Lawall <julia.lawall@inria.fr>
-Signed-off-by: Abdulrasaq Lawani <abdulrasaqolawani@gmail.com>
-Signed-off-by: Helge Deller <deller@gmx.de>
-Signed-off-by: Sasha Levin <sashal@kernel.org>
----
- drivers/video/fbdev/offb.c | 3 +--
- 1 file changed, 1 insertion(+), 2 deletions(-)
-
-diff --git a/drivers/video/fbdev/offb.c b/drivers/video/fbdev/offb.c
-index fbc6eafb63c77..fcff3601b05cc 100644
---- a/drivers/video/fbdev/offb.c
-+++ b/drivers/video/fbdev/offb.c
-@@ -354,7 +354,7 @@ static void offb_init_palette_hacks(struct fb_info *info, struct device_node *dp
-                       par->cmap_type = cmap_gxt2000;
-       } else if (of_node_name_prefix(dp, "vga,Display-")) {
-               /* Look for AVIVO initialized by SLOF */
--              struct device_node *pciparent = of_get_parent(dp);
-+              struct device_node *pciparent __free(device_node) = of_get_parent(dp);
-               const u32 *vid, *did;
-               vid = of_get_property(pciparent, "vendor-id", NULL);
-               did = of_get_property(pciparent, "device-id", NULL);
-@@ -366,7 +366,6 @@ static void offb_init_palette_hacks(struct fb_info *info, struct device_node *dp
-                       if (par->cmap_adr)
-                               par->cmap_type = cmap_avivo;
-               }
--              of_node_put(pciparent);
-       } else if (dp && of_device_is_compatible(dp, "qemu,std-vga")) {
- #ifdef __BIG_ENDIAN
-               const __be32 io_of_addr[3] = { 0x01000000, 0x0, 0x0 };
--- 
-2.43.0
-
index 7bb41ee7eb27b655abe2a7f527c8a544e0a44ce4..c92c0eef52dd78d1d3879a5bf57f8b45ff7e3c1d 100644 (file)
@@ -66,7 +66,6 @@ nfs-avoid-infinite-loop-in-pnfs_update_layout.patch
 openrisc-call-setup_memory-earlier-in-the-init-seque.patch
 s390-iucv-fix-receive-buffer-virtual-vs-physical-add.patch
 usb-dwc3-core-skip-setting-event-buffers-for-host-on.patch
-fbdev-offb-replace-of_node_put-with-__free-device_no.patch
 irqchip-gic-v3-its-remove-bug_on-in-its_vpe_irq_doma.patch
 ext4-set-the-type-of-max_zeroout-to-unsigned-int-to-.patch
 nvmet-rdma-fix-possible-bad-dereference-when-freeing.patch