]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
4.14-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 7 Oct 2023 11:55:31 +0000 (13:55 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 7 Oct 2023 11:55:31 +0000 (13:55 +0200)
added patches:
media-dvb-symbol-fixup-for-dvb_attach-again.patch

queue-4.14/media-dvb-symbol-fixup-for-dvb_attach-again.patch [new file with mode: 0644]
queue-4.14/series

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 (file)
index 0000000..ebf43a0
--- /dev/null
@@ -0,0 +1,40 @@
+From 970a3117c19c4e7a24f7c6f78b8153aed62786ec Mon Sep 17 00:00:00 2001
+From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+Date: Sat, 7 Oct 2023 13:50:27 +0200
+Subject: media: dvb: symbol fixup for dvb_attach() - again
+
+From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+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 <ben@decadent.org.uk>
+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 <gregkh@linuxfoundation.org>
+---
+ 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 <michel.ludwig@gmail.com>");
index 01fca275ba2f388cfb47fb260b60dc4457651aa6..a4f5c140f06004c20cf76ac64c4cf27beb923f85 100644 (file)
@@ -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