]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
5.10-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Oct 2024 10:07:50 +0000 (12:07 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Oct 2024 10:07:50 +0000 (12:07 +0200)
added patches:
ksz9477c.patch

queue-5.10/ksz9477c.patch [new file with mode: 0644]
queue-5.10/series

diff --git a/queue-5.10/ksz9477c.patch b/queue-5.10/ksz9477c.patch
new file mode 100644 (file)
index 0000000..9d5f4ec
--- /dev/null
@@ -0,0 +1,28 @@
+From foo@baz Thu Oct 17 12:06:51 PM CEST 2024
+Date: Thu, 17 Oct 2024 12:06:51 +0200
+To: Greg KH <gregkh@linuxfoundation.org>
+From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+Subject: net: dsa: microchip: fix build warning
+
+From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+In commit 65a9383389db ("net: dsa: microchip: fix initial port flush
+problem"), the build warning of an unused variable showed up.  Fix this
+by removing the variable entirely.
+
+Fixes: 65a9383389db ("net: dsa: microchip: fix initial port flush problem")
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+---
+ drivers/net/dsa/microchip/ksz9477.c |    1 -
+ 1 file changed, 1 deletion(-)
+
+--- a/drivers/net/dsa/microchip/ksz9477.c
++++ b/drivers/net/dsa/microchip/ksz9477.c
+@@ -195,7 +195,6 @@ static int ksz9477_wait_alu_sta_ready(st
+ static int ksz9477_reset_switch(struct ksz_device *dev)
+ {
+-      u8 data8;
+       u32 data32;
+       /* reset switch */
index 16f23e1a49671809d045c21f06bd476bfb98d86d..f999aa83cfbe60ff410cf7eff4d52ae84903dea2 100644 (file)
@@ -516,3 +516,4 @@ net-vrf-determine-the-dst-using-the-original-ifindex-for-multicast.patch
 netfilter-ip6t_rpfilter-fix-regression-with-vrf-interfaces.patch
 ext4-fix-warning-in-ext4_dio_write_end_io.patch
 rdma-hns-fix-uninitialized-variable.patch
+ksz9477c.patch