1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter.git synced 2025-03-09 15:40:20 +00:00

Test for RUTX 6.1 compilation

This commit is contained in:
Ycarus (Yannick Chabanois) 2023-06-29 13:20:32 +02:00
parent ca1b5e5ab0
commit fb024bdfd3
7 changed files with 567 additions and 86 deletions

View file

@ -323,3 +323,14 @@
if (priv == NULL) {
pr_err("<%s>: Invalid private data\n", __func__);
return count;
--- a/dcdp/ptm_tc.c 2023-06-29 11:30:37.060472655 +0200
+++ b/dcdp/ptm_tc.c 2023-06-29 11:31:01.376064210 +0200
@@ -88,7 +88,7 @@
unsigned int *data_addr, unsigned int *desc_addr);
-static inline void tc_ether_addr_copy(u8 *dst, const u8 *src)
+static inline void tc_ether_addr_copy(const u8 *dst, const u8 *src)
{
#if defined(CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS)
*(u32 *)dst = *(const u32 *)src;