]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
4.9-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 23 Jun 2020 18:09:11 +0000 (20:09 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 23 Jun 2020 18:09:11 +0000 (20:09 +0200)
added patches:
media-dvb_frontend-initialize-variable-s-with-fe_none-instead-of-0.patch

queue-4.9/media-dvb_frontend-initialize-variable-s-with-fe_none-instead-of-0.patch [new file with mode: 0644]
queue-4.9/series

diff --git a/queue-4.9/media-dvb_frontend-initialize-variable-s-with-fe_none-instead-of-0.patch b/queue-4.9/media-dvb_frontend-initialize-variable-s-with-fe_none-instead-of-0.patch
new file mode 100644 (file)
index 0000000..8ebb28e
--- /dev/null
@@ -0,0 +1,36 @@
+From 450694c3b9f47b826a002089c463b9454b4bbe42 Mon Sep 17 00:00:00 2001
+From: Colin Ian King <colin.king@canonical.com>
+Date: Fri, 21 Jul 2017 12:01:00 -0400
+Subject: media: dvb_frontend: initialize variable s with FE_NONE instead of 0
+
+From: Colin Ian King <colin.king@canonical.com>
+
+commit 450694c3b9f47b826a002089c463b9454b4bbe42 upstream.
+
+GIT_AUTHOR_NAME=Colin King
+GIT_AUTHOR_EMAIL=colin.king@canonical.com
+
+In a previous commit, we added FE_NONE as an unknown fe_status.
+Initialize variable s to FE_NONE instead of the more opaque value 0.
+
+Signed-off-by: Colin Ian King <colin.king@canonical.com>
+Reviewed-by: Shuah Khan <shuahkh@osg.samsung.com>
+Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
+Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+---
+ drivers/media/dvb-core/dvb_frontend.c |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/drivers/media/dvb-core/dvb_frontend.c
++++ b/drivers/media/dvb-core/dvb_frontend.c
+@@ -458,7 +458,7 @@ static int dvb_frontend_swzigzag_autotun
+ static void dvb_frontend_swzigzag(struct dvb_frontend *fe)
+ {
+-      enum fe_status s = 0;
++      enum fe_status s = FE_NONE;
+       int retval = 0;
+       struct dvb_frontend_private *fepriv = fe->frontend_priv;
+       struct dtv_frontend_properties *c = &fe->dtv_property_cache, tmp;
index 124d05c66c03afd649f3af8a1d7f19912cec3005..0662027fbc91b62ae513ccf601aab201e1596189 100644 (file)
@@ -107,3 +107,4 @@ kretprobe-prevent-triggering-kretprobe-from-within-k.patch
 e1000e-do-not-wake-up-the-system-via-wol-if-device-w.patch
 sched-rt-net-use-config_preemption.patch.patch
 net-core-device_rename-use-rwsem-instead-of-a-seqcou.patch
+media-dvb_frontend-initialize-variable-s-with-fe_none-instead-of-0.patch