File leap.patch of Package r8152

diff -U 3 -H -d -r -N -- a/r8152.c b/r8152.c
--- a/r8152.c	2021-04-20 04:42:06.000000000 +0200
+++ b/r8152.c	2021-10-10 10:08:39.396097223 +0200
@@ -2880,11 +2880,11 @@
 	}
 }
 
-#if LINUX_VERSION_CODE < KERNEL_VERSION(5,6,0)
+#if LINUX_VERSION_CODE < KERNEL_VERSION(5,3,0)
 static void rtl8152_tx_timeout(struct net_device *netdev)
 #else
 static void rtl8152_tx_timeout(struct net_device *netdev, unsigned int txqueue)
-#endif /* LINUX_VERSION_CODE < KERNEL_VERSION(5,6,0) */
+#endif /* LINUX_VERSION_CODE < KERNEL_VERSION(5,3,0) */
 {
 	struct r8152 *tp = netdev_priv(netdev);
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,29)
openSUSE Build Service is sponsored by