diff options
author | Álvaro Fernández Rojas <noltari@gmail.com> | 2019-08-02 18:55:55 +0200 |
---|---|---|
committer | Álvaro Fernández Rojas <noltari@gmail.com> | 2019-08-02 18:55:55 +0200 |
commit | 00813d4dd976cc823fa089840ff2f4a10dd6cd0c (patch) | |
tree | 8f2c74a928c9ea0eceb64809d9039db824ae6663 /target/linux/brcm2708/patches-4.14/950-0127-panel-raspberrypi-touchscreen-Fix-NULL-deref-if-prob.patch | |
parent | 19226502bf6393706defe7f049c587b32c9b4f33 (diff) | |
download | upstream-00813d4dd976cc823fa089840ff2f4a10dd6cd0c.tar.gz upstream-00813d4dd976cc823fa089840ff2f4a10dd6cd0c.tar.bz2 upstream-00813d4dd976cc823fa089840ff2f4a10dd6cd0c.zip |
brcm2708: remove linux 4.14 support
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Diffstat (limited to 'target/linux/brcm2708/patches-4.14/950-0127-panel-raspberrypi-touchscreen-Fix-NULL-deref-if-prob.patch')
-rw-r--r-- | target/linux/brcm2708/patches-4.14/950-0127-panel-raspberrypi-touchscreen-Fix-NULL-deref-if-prob.patch | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/target/linux/brcm2708/patches-4.14/950-0127-panel-raspberrypi-touchscreen-Fix-NULL-deref-if-prob.patch b/target/linux/brcm2708/patches-4.14/950-0127-panel-raspberrypi-touchscreen-Fix-NULL-deref-if-prob.patch deleted file mode 100644 index 37e1c63efe..0000000000 --- a/target/linux/brcm2708/patches-4.14/950-0127-panel-raspberrypi-touchscreen-Fix-NULL-deref-if-prob.patch +++ /dev/null @@ -1,27 +0,0 @@ -From d68d26f7f526fce52e71312501f3d07044a3c996 Mon Sep 17 00:00:00 2001 -From: Eric Anholt <eric@anholt.net> -Date: Wed, 12 Apr 2017 17:52:56 -0700 -Subject: [PATCH 127/454] panel-raspberrypi-touchscreen: Fix NULL deref if - probe order goes wrong. - -If the i2c driver hadn't pobed before the panel driver probes, then -the client would be NULL but we were looking for an ERR_PTR in the -error case. - -Signed-off-by: Eric Anholt <eric@anholt.net> ---- - drivers/gpu/drm/panel/panel-raspberrypi-touchscreen.c | 3 +++ - 1 file changed, 3 insertions(+) - ---- a/drivers/gpu/drm/panel/panel-raspberrypi-touchscreen.c -+++ b/drivers/gpu/drm/panel/panel-raspberrypi-touchscreen.c -@@ -399,6 +399,9 @@ static struct i2c_client *rpi_touchscree - - of_node_put(node); - -+ if (!client) -+ return ERR_PTR(-EPROBE_DEFER); -+ - return client; - } - |