]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
4.14-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 7 Feb 2018 20:07:27 +0000 (12:07 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 7 Feb 2018 20:07:27 +0000 (12:07 -0800)
added patches:
media-mtk-vcodec-add-missing-module_license-description.patch
media-soc_camera-soc_scale_crop-add-missing-module_description-author-license.patch

queue-4.14/media-mtk-vcodec-add-missing-module_license-description.patch [new file with mode: 0644]
queue-4.14/media-soc_camera-soc_scale_crop-add-missing-module_description-author-license.patch [new file with mode: 0644]
queue-4.14/series

diff --git a/queue-4.14/media-mtk-vcodec-add-missing-module_license-description.patch b/queue-4.14/media-mtk-vcodec-add-missing-module_license-description.patch
new file mode 100644 (file)
index 0000000..c817957
--- /dev/null
@@ -0,0 +1,37 @@
+From ccbc1e3876d5476fc23429690a683294ef0f755b Mon Sep 17 00:00:00 2001
+From: Jesse Chan <jc@linux.com>
+Date: Mon, 20 Nov 2017 02:47:54 -0500
+Subject: media: mtk-vcodec: add missing MODULE_LICENSE/DESCRIPTION
+
+From: Jesse Chan <jc@linux.com>
+
+commit ccbc1e3876d5476fc23429690a683294ef0f755b upstream.
+
+This change resolves a new compile-time warning
+when built as a loadable module:
+
+WARNING: modpost: missing MODULE_LICENSE() in drivers/media/platform/mtk-vcodec/mtk-vcodec-common.o
+see include/linux/module.h for more information
+
+This adds the license as "GPL v2", which matches the header of the file.
+
+MODULE_DESCRIPTION is also added.
+
+Signed-off-by: Jesse Chan <jc@linux.com>
+Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
+Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+---
+ drivers/media/platform/mtk-vcodec/mtk_vcodec_util.c |    3 +++
+ 1 file changed, 3 insertions(+)
+
+--- a/drivers/media/platform/mtk-vcodec/mtk_vcodec_util.c
++++ b/drivers/media/platform/mtk-vcodec/mtk_vcodec_util.c
+@@ -115,3 +115,6 @@ struct mtk_vcodec_ctx *mtk_vcodec_get_cu
+       return ctx;
+ }
+ EXPORT_SYMBOL(mtk_vcodec_get_curr_ctx);
++
++MODULE_LICENSE("GPL v2");
++MODULE_DESCRIPTION("Mediatek video codec driver");
diff --git a/queue-4.14/media-soc_camera-soc_scale_crop-add-missing-module_description-author-license.patch b/queue-4.14/media-soc_camera-soc_scale_crop-add-missing-module_description-author-license.patch
new file mode 100644 (file)
index 0000000..daf1eb2
--- /dev/null
@@ -0,0 +1,38 @@
+From 5331aec1bf9c9da557668174e0a4bfcee39f1121 Mon Sep 17 00:00:00 2001
+From: Jesse Chan <jc@linux.com>
+Date: Mon, 20 Nov 2017 15:56:28 -0500
+Subject: media: soc_camera: soc_scale_crop: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE
+
+From: Jesse Chan <jc@linux.com>
+
+commit 5331aec1bf9c9da557668174e0a4bfcee39f1121 upstream.
+
+This change resolves a new compile-time warning
+when built as a loadable module:
+
+WARNING: modpost: missing MODULE_LICENSE() in drivers/media/platform/soc_camera/soc_scale_crop.o
+see include/linux/module.h for more information
+
+This adds the license as "GPL", which matches the header of the file.
+
+MODULE_DESCRIPTION and MODULE_AUTHOR are also added.
+
+Signed-off-by: Jesse Chan <jc@linux.com>
+Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
+Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+---
+ drivers/media/platform/soc_camera/soc_scale_crop.c |    4 ++++
+ 1 file changed, 4 insertions(+)
+
+--- a/drivers/media/platform/soc_camera/soc_scale_crop.c
++++ b/drivers/media/platform/soc_camera/soc_scale_crop.c
+@@ -419,3 +419,7 @@ void soc_camera_calc_client_output(struc
+       mf->height = soc_camera_shift_scale(rect->height, shift, scale_v);
+ }
+ EXPORT_SYMBOL(soc_camera_calc_client_output);
++
++MODULE_DESCRIPTION("soc-camera scaling-cropping functions");
++MODULE_AUTHOR("Guennadi Liakhovetski <kernel@pengutronix.de>");
++MODULE_LICENSE("GPL");
index 0aece8b7cc3e16a77f5498b742c3fb0351f7bcd2..9857e1318a7aa6124658955943a287e1d48c0fa8 100644 (file)
@@ -14,3 +14,5 @@ rocker-fix-possible-null-pointer-dereference-in-rocker_router_fib_event_work.pat
 tcp_bbr-fix-pacing_gain-to-always-be-unity-when-using-lt_bw.patch
 ipv6-fix-so_reuseport-udp-socket-with-implicit-sk_ipv6only.patch
 soreuseport-fix-mem-leak-in-reuseport_add_sock.patch
+media-mtk-vcodec-add-missing-module_license-description.patch
+media-soc_camera-soc_scale_crop-add-missing-module_description-author-license.patch