summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2018-03-08 20:17:35 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-03-09 09:17:02 -0800
commit02750930545bd13f6d6fa7e8169f49badf03a083 (patch)
treebca3ca883bc830ea33319aacd187fa051c087937 /meta
parent27cb6b554342929c78b40189afdc4a62340a2cf2 (diff)
downloadpoky-02750930545bd13f6d6fa7e8169f49badf03a083.tar.gz
kmod: refresh patches
The patch tool will apply patches by default with "fuzz", which is where if the hunk context isn't present but what is there is close enough, it will force the patch in. Whilst this is useful when there's just whitespace changes, when applied to source it is possible for a patch applied with fuzz to produce broken code which still compiles (see #10450). This is obviously bad. We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For that to be realistic the existing patches with fuzz need to be rebased and reviewed. (From OE-Core rev: c94152fee766297b355fec7f6d3d4d8ba7ae5f86) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-kernel/kmod/kmod/avoid_parallel_tests.patch13
-rw-r--r--meta/recipes-kernel/kmod/kmod/fix-O_CLOEXEC.patch15
2 files changed, 11 insertions, 17 deletions
diff --git a/meta/recipes-kernel/kmod/kmod/avoid_parallel_tests.patch b/meta/recipes-kernel/kmod/kmod/avoid_parallel_tests.patch
index feafcb9b7c..5f45fce932 100644
--- a/meta/recipes-kernel/kmod/kmod/avoid_parallel_tests.patch
+++ b/meta/recipes-kernel/kmod/kmod/avoid_parallel_tests.patch
@@ -11,10 +11,10 @@ Upstream-Status: Inappropriate (disable feature incompatible with ptest)
11 configure.ac | 2 +- 11 configure.ac | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-) 12 1 file changed, 1 insertion(+), 1 deletion(-)
13 13
14diff --git a/configure.ac b/configure.ac 14Index: git/configure.ac
15index eb0f9d1..a539968 100644 15===================================================================
16--- a/configure.ac 16--- git.orig/configure.ac
17+++ b/configure.ac 17+++ git/configure.ac
18@@ -14,7 +14,7 @@ AC_USE_SYSTEM_EXTENSIONS 18@@ -14,7 +14,7 @@ AC_USE_SYSTEM_EXTENSIONS
19 AC_SYS_LARGEFILE 19 AC_SYS_LARGEFILE
20 AC_PREFIX_DEFAULT([/usr]) 20 AC_PREFIX_DEFAULT([/usr])
@@ -23,7 +23,4 @@ index eb0f9d1..a539968 100644
23+AM_INIT_AUTOMAKE([check-news foreign 1.11 silent-rules tar-pax no-dist-gzip dist-xz subdir-objects color-tests serial-tests]) 23+AM_INIT_AUTOMAKE([check-news foreign 1.11 silent-rules tar-pax no-dist-gzip dist-xz subdir-objects color-tests serial-tests])
24 AM_SILENT_RULES([yes]) 24 AM_SILENT_RULES([yes])
25 LT_INIT([disable-static pic-only]) 25 LT_INIT([disable-static pic-only])
26 26 DOLT
27--
281.9.1
29
diff --git a/meta/recipes-kernel/kmod/kmod/fix-O_CLOEXEC.patch b/meta/recipes-kernel/kmod/kmod/fix-O_CLOEXEC.patch
index 8161d6128d..5d9d40c387 100644
--- a/meta/recipes-kernel/kmod/kmod/fix-O_CLOEXEC.patch
+++ b/meta/recipes-kernel/kmod/kmod/fix-O_CLOEXEC.patch
@@ -18,12 +18,12 @@ Upstream-Status: Pending
18 libkmod/libkmod-internal.h | 4 ++++ 18 libkmod/libkmod-internal.h | 4 ++++
19 1 file changed, 4 insertions(+) 19 1 file changed, 4 insertions(+)
20 20
21diff --git a/libkmod/libkmod-internal.h b/libkmod/libkmod-internal.h 21Index: git/libkmod/libkmod-internal.h
22index 0180124..100b40f 100644 22===================================================================
23--- a/libkmod/libkmod-internal.h 23--- git.orig/libkmod/libkmod-internal.h
24+++ b/libkmod/libkmod-internal.h 24+++ git/libkmod/libkmod-internal.h
25@@ -9,6 +9,10 @@ 25@@ -10,6 +10,10 @@
26 #include "macro.h" 26
27 #include "libkmod.h" 27 #include "libkmod.h"
28 28
29+#ifndef O_CLOEXEC 29+#ifndef O_CLOEXEC
@@ -33,6 +33,3 @@ index 0180124..100b40f 100644
33 static _always_inline_ _printf_format_(2, 3) void 33 static _always_inline_ _printf_format_(2, 3) void
34 kmod_log_null(struct kmod_ctx *ctx, const char *format, ...) {} 34 kmod_log_null(struct kmod_ctx *ctx, const char *format, ...) {}
35 35
36--
371.7.10.4
38