From b9e860197c07f0e94ed6fa0a353c557b4d484355 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Sat, 7 Oct 2023 13:55:31 +0200 Subject: [PATCH] 4.14-stable patches added patches: media-dvb-symbol-fixup-for-dvb_attach-again.patch --- ...vb-symbol-fixup-for-dvb_attach-again.patch | 40 +++++++++++++++++++ queue-4.14/series | 1 + 2 files changed, 41 insertions(+) create mode 100644 queue-4.14/media-dvb-symbol-fixup-for-dvb_attach-again.patch diff --git a/queue-4.14/media-dvb-symbol-fixup-for-dvb_attach-again.patch b/queue-4.14/media-dvb-symbol-fixup-for-dvb_attach-again.patch new file mode 100644 index 00000000000..ebf43a0237e --- /dev/null +++ b/queue-4.14/media-dvb-symbol-fixup-for-dvb_attach-again.patch @@ -0,0 +1,40 @@ +From 970a3117c19c4e7a24f7c6f78b8153aed62786ec Mon Sep 17 00:00:00 2001 +From: Greg Kroah-Hartman +Date: Sat, 7 Oct 2023 13:50:27 +0200 +Subject: media: dvb: symbol fixup for dvb_attach() - again + +From: Greg Kroah-Hartman + +In commit cd98086a7d9d ("media: dvb: symbol fixup for dvb_attach()") in +the 4.14.y tree, a few symbols were missed due to files being renamed in +newer kernel versions. Fix this up by properly marking up the +sp8870_attach and xc2028_attach symbols. + +Reported-by: Ben Hutchings +Link: https://lore.kernel.org/r/b12435b2311ada131db05d3cf195b4b5d87708eb.camel@decadent.org.uk +Fixes: cd98086a7d9d ("media: dvb: symbol fixup for dvb_attach()") +Signed-off-by: Greg Kroah-Hartman +--- + drivers/media/dvb-frontends/sp8870.c | 2 +- + drivers/media/tuners/tuner-xc2028.c | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +--- a/drivers/media/dvb-frontends/sp8870.c ++++ b/drivers/media/dvb-frontends/sp8870.c +@@ -619,4 +619,4 @@ MODULE_DESCRIPTION("Spase SP8870 DVB-T D + MODULE_AUTHOR("Juergen Peitz"); + MODULE_LICENSE("GPL"); + +-EXPORT_SYMBOL(sp8870_attach); ++EXPORT_SYMBOL_GPL(sp8870_attach); +--- a/drivers/media/tuners/tuner-xc2028.c ++++ b/drivers/media/tuners/tuner-xc2028.c +@@ -1516,7 +1516,7 @@ fail: + return NULL; + } + +-EXPORT_SYMBOL(xc2028_attach); ++EXPORT_SYMBOL_GPL(xc2028_attach); + + MODULE_DESCRIPTION("Xceive xc2028/xc3028 tuner driver"); + MODULE_AUTHOR("Michel Ludwig "); diff --git a/queue-4.14/series b/queue-4.14/series index 01fca275ba2..a4f5c140f06 100644 --- a/queue-4.14/series +++ b/queue-4.14/series @@ -32,3 +32,4 @@ vc_screen-reload-load-of-struct-vc_data-pointer-in-vcs_write-to-avoid-uaf.patch ext4-fix-rec_len-verify-error.patch net-sched-sch_hfsc-ensure-inner-classes-have-fsc-curve.patch ata-libata-disallow-dev-initiated-lpm-transitions-to-unsupported-states.patch +media-dvb-symbol-fixup-for-dvb_attach-again.patch -- 2.47.3