aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorronan <ronan.lemartret@gmail.com>2018-02-09 11:56:29 +0100
committerronan <ronan.lemartret@gmail.com>2018-02-13 17:22:38 +0100
commit23492d46ea0fd81aa05528ad423bb5e1a10e111b (patch)
treedc039d5a21a817e615e8b5f0712444ee21e9ea6a
parent27913bb1820be75d08355923f10d1d149893ecdb (diff)
Fix most for kernel 4.14
Change-Id: I799a4e5bac5f381ba72ee889d34a9faec29205e7 Signed-off-by: ronan <ronan.lemartret@gmail.com>
-rw-r--r--recipes-kernel/most/files/0001-src-most-net-add-skb_put_data-function.patch33
-rw-r--r--recipes-kernel/most/most.bbappend1
2 files changed, 0 insertions, 34 deletions
diff --git a/recipes-kernel/most/files/0001-src-most-net-add-skb_put_data-function.patch b/recipes-kernel/most/files/0001-src-most-net-add-skb_put_data-function.patch
deleted file mode 100644
index b9ef59515..000000000
--- a/recipes-kernel/most/files/0001-src-most-net-add-skb_put_data-function.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-From d297f3ec0c45a6cfff6d83d8f0eb1c4a5ed0b95f Mon Sep 17 00:00:00 2001
-From: Christian Gromm <christian.gromm@microchip.com>
-Date: Thu, 9 Nov 2017 11:31:27 +0100
-Subject: [PATCH 1/2] src: most: net: add skb_put_data function
-
-This patch adds the function skb_put_data. It is needed to backport
-the sources to kernel versions prior to 4.13.
-
-Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
----
- driver/aim-network/networking.c | 6 ++++++
- 1 file changed, 6 insertions(+)
-
-diff --git a/aim-network/networking.c b/aim-network/networking.c
-index 936f013..9c3d1eb 100644
---- a/aim-network/networking.c
-+++ b/aim-network/networking.c
-@@ -419,6 +419,12 @@ put_nd:
- return 0;
- }
-
-+static inline void skb_put_data(struct sk_buff *skb, const void *data,
-+ unsigned int len)
-+{
-+ memcpy(skb_put(skb, len), data, len);
-+}
-+
- static int aim_rx_data(struct mbo *mbo)
- {
- const u32 zero = 0;
---
-2.7.4
-
diff --git a/recipes-kernel/most/most.bbappend b/recipes-kernel/most/most.bbappend
index 092a76060..bca20d59b 100644
--- a/recipes-kernel/most/most.bbappend
+++ b/recipes-kernel/most/most.bbappend
@@ -1,7 +1,6 @@
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
SRC_URI_append = " \
- file://0001-src-most-net-add-skb_put_data-function.patch \
file://0002-src-most-add-auto-conf-feature.patch \
file://0003-core-remove-kernel-log-for-MBO-status.patch \
file://0004-most-video-set-device_caps.patch \