diff options
Diffstat (limited to 'packages/linux-kernel/patches/vyos-drivers-realtek-r8152/0001-Fixed-compatibility-with-kernel-5.4.254.patch')
-rw-r--r-- | packages/linux-kernel/patches/vyos-drivers-realtek-r8152/0001-Fixed-compatibility-with-kernel-5.4.254.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/packages/linux-kernel/patches/vyos-drivers-realtek-r8152/0001-Fixed-compatibility-with-kernel-5.4.254.patch b/packages/linux-kernel/patches/vyos-drivers-realtek-r8152/0001-Fixed-compatibility-with-kernel-5.4.254.patch new file mode 100644 index 00000000..d4e9321b --- /dev/null +++ b/packages/linux-kernel/patches/vyos-drivers-realtek-r8152/0001-Fixed-compatibility-with-kernel-5.4.254.patch @@ -0,0 +1,27 @@ +From 65e00ae524f82cffb57abf3fa3f8dbac8a2bda7a Mon Sep 17 00:00:00 2001 +From: Taras Pudiak <taras@vyos.io> +Date: Wed, 30 Aug 2023 14:59:38 +0300 +Subject: [PATCH] Fixed compatibility with kernel 5.4.254 + +--- + compatibility.h | 4 ---- + 1 file changed, 4 deletions(-) + +diff --git a/compatibility.h b/compatibility.h +index d1e044d..9eee6a9 100644 +--- a/compatibility.h ++++ b/compatibility.h +@@ -612,10 +612,6 @@ + #endif /* LINUX_VERSION_CODE < KERNEL_VERSION(5,8,0) */ + #endif /* LINUX_VERSION_CODE < KERNEL_VERSION(5,9,0) */ + #endif /* LINUX_VERSION_CODE < KERNEL_VERSION(5,12,0) */ +- static inline void eth_hw_addr_set(struct net_device *dev, const u8 *addr) +- { +- memcpy(dev->dev_addr, addr, 6); +- } + #endif /* LINUX_VERSION_CODE < KERNEL_VERSION(5,15,0) */ + #endif /* LINUX_VERSION_CODE < KERNEL_VERSION(5,19,0) */ + +-- +2.34.1 + |