It seems condition was too optimistic so we need to apply additional change.
This commit is contained in:
Igor Pecovnik 2023-07-29 18:14:01 +00:00 committed by Igor
parent 3d7e67431f
commit 6c80e42899
3 changed files with 3 additions and 3 deletions

View File

@ -16,7 +16,7 @@ index 15255cb..f4ed355 100644
#endif
-#if (LINUX_VERSION_CODE < KERNEL_VERSION(5, 15, 0))
+#if (LINUX_VERSION_CODE < KERNEL_VERSION(5, 4, 251))
+#if (LINUX_VERSION_CODE < KERNEL_VERSION(5, 15, 0) && LINUX_VERSION_CODE > KERNEL_VERSION(5, 5, 0)) || LINUX_VERSION_CODE < KERNEL_VERSION(5, 4, 251)
/* Porting from linux kernel commits
48eab831ae8b9f7002a533fa4235eed63ea1f1a3
3f6cffb8604b537e3d7ea040d7f4368689638eaf

View File

@ -16,7 +16,7 @@ index e1daa04..6c6d0d8 100644
#endif
-#if (LINUX_VERSION_CODE < KERNEL_VERSION(5, 15, 0))
+#if (LINUX_VERSION_CODE < KERNEL_VERSION(5, 4, 251))
+#if (LINUX_VERSION_CODE < KERNEL_VERSION(5, 15, 0) && LINUX_VERSION_CODE > KERNEL_VERSION(5, 5, 0)) || LINUX_VERSION_CODE < KERNEL_VERSION(5, 4, 251)
/* Porting from linux kernel commits
48eab831ae8b9f7002a533fa4235eed63ea1f1a3
3f6cffb8604b537e3d7ea040d7f4368689638eaf

View File

@ -16,7 +16,7 @@ index 8ade04f..3f8b0fa 100644
typedef unsigned long systime;
-#if (LINUX_VERSION_CODE < KERNEL_VERSION(5, 15, 0))
+#if (LINUX_VERSION_CODE < KERNEL_VERSION(5, 4, 251))
+#if (LINUX_VERSION_CODE < KERNEL_VERSION(5, 15, 0) && LINUX_VERSION_CODE > KERNEL_VERSION(5, 5, 0)) || LINUX_VERSION_CODE < KERNEL_VERSION(5, 4, 251)
/* Porting from linux kernel v5.15-rc1 48eab831ae8b9f7002a533fa4235eed63ea1f1a3 */
static inline void eth_hw_addr_set(struct net_device *dev, const u8 *addr)
{