diff options
author | Álvaro Fernández Rojas <noltari@gmail.com> | 2019-08-09 19:50:30 +0200 |
---|---|---|
committer | Álvaro Fernández Rojas <noltari@gmail.com> | 2019-08-27 11:10:01 +0200 |
commit | 2340c646e6a5da658e114be2f721ff90853588d4 (patch) | |
tree | df9744d2344e71e8c5d1b75c3e1528bc474313fe /target/linux/brcm2708/patches-4.19/950-0370-staging-vc_sm_cma-Remove-erroneous-misc_deregister.patch | |
parent | 81d0da118694feb874f992093063a2852285d194 (diff) | |
download | upstream-2340c646e6a5da658e114be2f721ff90853588d4.tar.gz upstream-2340c646e6a5da658e114be2f721ff90853588d4.tar.bz2 upstream-2340c646e6a5da658e114be2f721ff90853588d4.zip |
brcm2708: update to latest patches from RPi foundation
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Diffstat (limited to 'target/linux/brcm2708/patches-4.19/950-0370-staging-vc_sm_cma-Remove-erroneous-misc_deregister.patch')
-rw-r--r-- | target/linux/brcm2708/patches-4.19/950-0370-staging-vc_sm_cma-Remove-erroneous-misc_deregister.patch | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/target/linux/brcm2708/patches-4.19/950-0370-staging-vc_sm_cma-Remove-erroneous-misc_deregister.patch b/target/linux/brcm2708/patches-4.19/950-0370-staging-vc_sm_cma-Remove-erroneous-misc_deregister.patch deleted file mode 100644 index 21178db0f3..0000000000 --- a/target/linux/brcm2708/patches-4.19/950-0370-staging-vc_sm_cma-Remove-erroneous-misc_deregister.patch +++ /dev/null @@ -1,44 +0,0 @@ -From 619a09baf2013206075d950ed54093b5573c0886 Mon Sep 17 00:00:00 2001 -From: Dave Stevenson <dave.stevenson@raspberrypi.org> -Date: Fri, 8 Mar 2019 10:38:59 +0000 -Subject: [PATCH 370/725] staging: vc_sm_cma: Remove erroneous misc_deregister - -Code from the misc /dev node was still present in -bcm2835_vc_sm_cma_remove, which caused a NULL deref. -Remove it. - -See #2885. - -Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org> ---- - drivers/staging/vc04_services/vc-sm-cma/vc_sm.c | 5 ----- - 1 file changed, 5 deletions(-) - ---- a/drivers/staging/vc04_services/vc-sm-cma/vc_sm.c -+++ b/drivers/staging/vc04_services/vc-sm-cma/vc_sm.c -@@ -25,7 +25,6 @@ - #include <linux/fs.h> - #include <linux/kernel.h> - #include <linux/list.h> --#include <linux/miscdevice.h> - #include <linux/module.h> - #include <linux/mm.h> - #include <linux/of_device.h> -@@ -72,7 +71,6 @@ struct sm_pde_t { - struct sm_state_t { - struct platform_device *pdev; - -- struct miscdevice dev; - struct sm_instance *sm_handle; /* Handle for videocore service. */ - - spinlock_t kernelid_map_lock; /* Spinlock protecting kernelid_map */ -@@ -758,9 +756,6 @@ static int bcm2835_vc_sm_cma_remove(stru - { - pr_debug("[%s]: start\n", __func__); - if (sm_inited) { -- /* Remove shared memory device. */ -- misc_deregister(&sm_state->dev); -- - /* Remove all proc entries. */ - //debugfs_remove_recursive(sm_state->dir_root); - |