]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
fixes for 4.4
authorSasha Levin <sashal@kernel.org>
Fri, 5 Jul 2019 14:07:44 +0000 (10:07 -0400)
committerSasha Levin <sashal@kernel.org>
Fri, 5 Jul 2019 14:07:44 +0000 (10:07 -0400)
Signed-off-by: Sasha Levin <sashal@kernel.org>
queue-4.4/series
queue-4.4/tty-rocket-fix-incorrect-forward-declaration-of-rp_i.patch [new file with mode: 0644]

index 5c5bafcce9e0a62f0fed9344e725261e3d5f05fd..1ff0e7d06a6ec54dd8e926f6dba2237b365af8a9 100644 (file)
@@ -66,3 +66,4 @@ alsa-firewire-lib-fireworks-fix-miss-detection-of-received-midi-messages.patch
 alsa-usb-audio-fix-sign-unintended-sign-extension-on-left-shifts.patch
 lib-mpi-fix-karactx-leak-in-mpi_powm.patch
 btrfs-ensure-replaced-device-doesn-t-have-pending-chunk-allocation.patch
+tty-rocket-fix-incorrect-forward-declaration-of-rp_i.patch
diff --git a/queue-4.4/tty-rocket-fix-incorrect-forward-declaration-of-rp_i.patch b/queue-4.4/tty-rocket-fix-incorrect-forward-declaration-of-rp_i.patch
new file mode 100644 (file)
index 0000000..a0e680b
--- /dev/null
@@ -0,0 +1,36 @@
+From 42f6f54552d84a306804ff85860e065631aa0e24 Mon Sep 17 00:00:00 2001
+From: Linus Torvalds <torvalds@linux-foundation.org>
+Date: Mon, 6 May 2019 11:28:23 -0700
+Subject: tty: rocket: fix incorrect forward declaration of 'rp_init()'
+
+[ Upstream commit 423ea3255424b954947d167681b71ded1b8fca53 ]
+
+Make the forward declaration actually match the real function
+definition, something that previous versions of gcc had just ignored.
+
+This is another patch to fix new warnings from gcc-9 before I start the
+merge window pulls.  I don't want to miss legitimate new warnings just
+because my system update brought a new compiler with new warnings.
+
+Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
+Signed-off-by: Sasha Levin <sashal@kernel.org>
+---
+ drivers/tty/rocket.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/drivers/tty/rocket.c b/drivers/tty/rocket.c
+index 2b8f2e0a4224..ec6d20f25e8b 100644
+--- a/drivers/tty/rocket.c
++++ b/drivers/tty/rocket.c
+@@ -279,7 +279,7 @@ MODULE_PARM_DESC(pc104_3, "set interface types for ISA(PC104) board #3 (e.g. pc1
+ module_param_array(pc104_4, ulong, NULL, 0);
+ MODULE_PARM_DESC(pc104_4, "set interface types for ISA(PC104) board #4 (e.g. pc104_4=232,232,485,485,...");
+-static int rp_init(void);
++static int __init rp_init(void);
+ static void rp_cleanup_module(void);
+ module_init(rp_init);
+-- 
+2.20.1
+