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

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

diff --git a/queue-4.19/media-dvb-symbol-fixup-for-dvb_attach-again.patch b/queue-4.19/media-dvb-symbol-fixup-for-dvb_attach-again.patch
new file mode 100644 (file)
index 0000000..f90efd4
--- /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 f296b374b9c1 ("media: dvb: symbol fixup for dvb_attach()") in
+the 4.19.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: f296b374b9c1 ("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
+@@ -1513,7 +1513,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 ce32df3ea8aeb9e2231580ff41d1ed7987801848..b89099e88d126df711175a3cc900e6c8bcdde38c 100644 (file)
@@ -67,3 +67,4 @@ fs-binfmt_elf_efpic-fix-personality-for-elf-fdpic.patch
 ext4-fix-rec_len-verify-error.patch
 ata-libata-disallow-dev-initiated-lpm-transitions-to-unsupported-states.patch
 revert-drivers-core-use-sysfs_emit-and-sysfs_emit_at-for-show-device-...-functions.patch
+media-dvb-symbol-fixup-for-dvb_attach-again.patch