diff options
author | John Crispin <john@openwrt.org> | 2016-02-25 10:14:05 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2016-02-25 10:14:05 +0000 |
commit | 0834f9f07631a8857a96614e37cb21e1dc84ffb4 (patch) | |
tree | c62e777de69d8397ed7870991bc46d5648a20046 /target/linux/brcm2708/patches-4.1/0175-bcm2835-memcpy-port-data-to-m-rather-than-rmsg.patch | |
parent | b3dc9566a46efa67951ff6ae28e4397da9db92af (diff) | |
download | mtk-20170518-0834f9f07631a8857a96614e37cb21e1dc84ffb4.zip mtk-20170518-0834f9f07631a8857a96614e37cb21e1dc84ffb4.tar.gz mtk-20170518-0834f9f07631a8857a96614e37cb21e1dc84ffb4.tar.bz2 |
brcm2708: remove linux 4.1 support
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 48766
Diffstat (limited to 'target/linux/brcm2708/patches-4.1/0175-bcm2835-memcpy-port-data-to-m-rather-than-rmsg.patch')
-rw-r--r-- | target/linux/brcm2708/patches-4.1/0175-bcm2835-memcpy-port-data-to-m-rather-than-rmsg.patch | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/target/linux/brcm2708/patches-4.1/0175-bcm2835-memcpy-port-data-to-m-rather-than-rmsg.patch b/target/linux/brcm2708/patches-4.1/0175-bcm2835-memcpy-port-data-to-m-rather-than-rmsg.patch deleted file mode 100644 index 10f30ea..0000000 --- a/target/linux/brcm2708/patches-4.1/0175-bcm2835-memcpy-port-data-to-m-rather-than-rmsg.patch +++ /dev/null @@ -1,25 +0,0 @@ -From e0cedac30a461fadfb06f14aa491e989918b6f52 Mon Sep 17 00:00:00 2001 -From: Colin Ian King <colin.king@canonical.com> -Date: Wed, 2 Sep 2015 07:47:51 -0400 -Subject: [PATCH 175/222] bcm2835: memcpy port data to m rather than rmsg - -static analysis by cppcheck detected a memcpy to rmsg which is -not actually initialized at that point. The memcpy should be copying -to variable m instead. - -Signed-off-by: Colin Ian King <colin.king@canonical.com> ---- - drivers/media/platform/bcm2835/mmal-vchiq.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - ---- a/drivers/media/platform/bcm2835/mmal-vchiq.c -+++ b/drivers/media/platform/bcm2835/mmal-vchiq.c -@@ -851,7 +851,7 @@ static int port_info_set(struct vchiq_mm - sizeof(union mmal_es_specific_format)); - - m.u.port_info_set.format.extradata_size = port->format.extradata_size; -- memcpy(rmsg->u.port_info_set.extradata, port->format.extradata, -+ memcpy(&m.u.port_info_set.extradata, port->format.extradata, - port->format.extradata_size); - - ret = send_synchronous_mmal_msg(instance, &m, |