From: Greg Kroah-Hartman Date: Thu, 17 Oct 2024 10:07:50 +0000 (+0200) Subject: 5.10-stable patches X-Git-Tag: v5.10.227~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b953cf60f7a42336cab6373ce79e9d889ff9a18;p=thirdparty%2Fkernel%2Fstable-queue.git 5.10-stable patches added patches: ksz9477c.patch --- diff --git a/queue-5.10/ksz9477c.patch b/queue-5.10/ksz9477c.patch new file mode 100644 index 00000000000..9d5f4ec0dba --- /dev/null +++ b/queue-5.10/ksz9477c.patch @@ -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 +From: Greg Kroah-Hartman +Subject: net: dsa: microchip: fix build warning + +From: Greg Kroah-Hartman + +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 +--- + 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 */ diff --git a/queue-5.10/series b/queue-5.10/series index 16f23e1a496..f999aa83cfb 100644 --- a/queue-5.10/series +++ b/queue-5.10/series @@ -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