From: Greg Kroah-Hartman Date: Tue, 23 Jun 2020 18:09:11 +0000 (+0200) Subject: 4.9-stable patches X-Git-Tag: v5.7.6~9 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8f34f1891da44277d6d7e5d4e76f3d85dd97e450;p=thirdparty%2Fkernel%2Fstable-queue.git 4.9-stable patches added patches: media-dvb_frontend-initialize-variable-s-with-fe_none-instead-of-0.patch --- 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 index 00000000000..8ebb28eb0dd --- /dev/null +++ b/queue-4.9/media-dvb_frontend-initialize-variable-s-with-fe_none-instead-of-0.patch @@ -0,0 +1,36 @@ +From 450694c3b9f47b826a002089c463b9454b4bbe42 Mon Sep 17 00:00:00 2001 +From: Colin Ian King +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 + +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 +Reviewed-by: Shuah Khan +Signed-off-by: Mauro Carvalho Chehab +Signed-off-by: Florian Fainelli +Signed-off-by: Greg Kroah-Hartman + +--- + 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; diff --git a/queue-4.9/series b/queue-4.9/series index 124d05c66c0..0662027fbc9 100644 --- a/queue-4.9/series +++ b/queue-4.9/series @@ -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