aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm2708/patches-4.1/0174-bcm2835-camera-check-for-scene-not-being-found.patch
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2016-02-25 10:14:05 +0000
committerJohn Crispin <blogic@openwrt.org>2016-02-25 10:14:05 +0000
commit19a174c9ff135ce7198f41d2226b92c646515d26 (patch)
tree68aa7d5a077cda7c29e257a9303631b48793b483 /target/linux/brcm2708/patches-4.1/0174-bcm2835-camera-check-for-scene-not-being-found.patch
parentddab8d8608f1f0676ca2155e0415cc59a142af02 (diff)
downloadmaster-187ad058-19a174c9ff135ce7198f41d2226b92c646515d26.tar.gz
master-187ad058-19a174c9ff135ce7198f41d2226b92c646515d26.tar.bz2
master-187ad058-19a174c9ff135ce7198f41d2226b92c646515d26.zip
brcm2708: remove linux 4.1 support
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48766 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm2708/patches-4.1/0174-bcm2835-camera-check-for-scene-not-being-found.patch')
-rw-r--r--target/linux/brcm2708/patches-4.1/0174-bcm2835-camera-check-for-scene-not-being-found.patch31
1 files changed, 0 insertions, 31 deletions
diff --git a/target/linux/brcm2708/patches-4.1/0174-bcm2835-camera-check-for-scene-not-being-found.patch b/target/linux/brcm2708/patches-4.1/0174-bcm2835-camera-check-for-scene-not-being-found.patch
deleted file mode 100644
index 70b2c72056..0000000000
--- a/target/linux/brcm2708/patches-4.1/0174-bcm2835-camera-check-for-scene-not-being-found.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From e9b089f99bf763bf803f82201cbb35251b6d8945 Mon Sep 17 00:00:00 2001
-From: Colin Ian King <colin.king@canonical.com>
-Date: Wed, 2 Sep 2015 07:33:39 -0400
-Subject: [PATCH 174/222] bcm2835: camera: check for scene not being found
-
-static analysis by cppcheck detected some potential NULL pointer
-dereference issues:
-
-[drivers/media/platform/bcm2835/controls.c:854]: (error) Possible null
- pointer dereference: scene
- (and lines 858, 859 too)
-
-it is possible that scene is not found because of an invalue ctrl->val
-and is therefore NULL and hence causing a null pointer dereference.
-
-Signed-off-by: Colin Ian King <colin.king@canonical.com>
----
- drivers/media/platform/bcm2835/controls.c | 2 ++
- 1 file changed, 2 insertions(+)
-
---- a/drivers/media/platform/bcm2835/controls.c
-+++ b/drivers/media/platform/bcm2835/controls.c
-@@ -845,6 +845,8 @@ static int ctrl_set_scene_mode(struct bm
- break;
- }
- }
-+ if (!scene)
-+ return -EINVAL;
- if (i >= ARRAY_SIZE(scene_configs))
- return -EINVAL;
-