diff options
author | Armin Kuster <akuster808@gmail.com> | 2018-04-07 12:58:14 -0700 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2018-04-13 12:43:38 -0700 |
commit | 60ece21d85eb2b2fa57ea93d2dfb7f79a693cd5f (patch) | |
tree | 28f4efc904567f17ec5c0ba91021056c526aad1e /meta-oe/recipes-test/stress-ng | |
parent | d3286daf334d2678198d110e25eafb9717d14781 (diff) | |
download | meta-openembedded-60ece21d85eb2b2fa57ea93d2dfb7f79a693cd5f.tar.gz |
stress-ng: refresh patches
WARNING:
Some of the context lines in patches were ignored. This can lead to incorrectly applied patches.
The context lines in the patches can be updated with devtool:
devtool modify <recipe>
devtool finish --force-patch-refresh <recipe> <layer_path>
Then the updated patches and the source tree (in devtool's workspace)
should be reviewed to make sure the patches apply in the correct place
and don't introduce duplicate lines (which can, and does happen
when some of the context is ignored). Further information:
http://lists.openembedded.org/pipermail/openembedded-core/2018-March/148675.html
https://bugzilla.yoctoproject.org/show_bug.cgi?id=10450
Details:
patching file stress-fcntl.c
Hunk #1 succeeded at 415 with fuzz 2 (offset 2 lines).
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-oe/recipes-test/stress-ng')
-rw-r--r-- | meta-oe/recipes-test/stress-ng/stress-ng/0001-Several-changes-to-fix-musl-build.patch | 24 | ||||
-rw-r--r-- | meta-oe/recipes-test/stress-ng/stress-ng/0002-stress-fcntl-fix-build-for-musl.patch | 14 |
2 files changed, 17 insertions, 21 deletions
diff --git a/meta-oe/recipes-test/stress-ng/stress-ng/0001-Several-changes-to-fix-musl-build.patch b/meta-oe/recipes-test/stress-ng/stress-ng/0001-Several-changes-to-fix-musl-build.patch index f90e704f0..d604f860a 100644 --- a/meta-oe/recipes-test/stress-ng/stress-ng/0001-Several-changes-to-fix-musl-build.patch +++ b/meta-oe/recipes-test/stress-ng/stress-ng/0001-Several-changes-to-fix-musl-build.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From d50203b233cb8820bf83b6651c2a8487e0db1fcf Mon Sep 17 00:00:00 2001 | 1 | From 784dcd09d3f266e271d007f4fd257e85036872ca Mon Sep 17 00:00:00 2001 |
2 | From: =?UTF-8?q?An=C3=ADbal=20Lim=C3=B3n?= <anibal.limon@linaro.org> | 2 | From: =?UTF-8?q?An=C3=ADbal=20Lim=C3=B3n?= <anibal.limon@linaro.org> |
3 | Date: Tue, 17 Oct 2017 10:13:20 -0500 | 3 | Date: Tue, 17 Oct 2017 10:13:20 -0500 |
4 | Subject: [PATCH] Several changes to fix musl build | 4 | Subject: [PATCH] Several changes to fix musl build |
@@ -21,6 +21,7 @@ Signed-off-by: Aníbal Limón <anibal.limon@linaro.org> | |||
21 | Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> | 21 | Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> |
22 | 22 | ||
23 | Upstream-status: Pending | 23 | Upstream-status: Pending |
24 | |||
24 | --- | 25 | --- |
25 | cache.c | 4 ++++ | 26 | cache.c | 4 ++++ |
26 | stress-madvise.c | 1 + | 27 | stress-madvise.c | 1 + |
@@ -28,13 +29,13 @@ Upstream-status: Pending | |||
28 | stress-pty.c | 18 ------------------ | 29 | stress-pty.c | 18 ------------------ |
29 | stress-resources.c | 1 - | 30 | stress-resources.c | 1 - |
30 | stress-stackmmap.c | 2 +- | 31 | stress-stackmmap.c | 2 +- |
31 | 8 files changed, 9 insertions(+), 23 deletions(-) | 32 | 6 files changed, 7 insertions(+), 21 deletions(-) |
32 | 33 | ||
33 | diff --git a/cache.c b/cache.c | 34 | diff --git a/cache.c b/cache.c |
34 | index e01fad0..27870ee 100644 | 35 | index fbf7674..936c1ff 100644 |
35 | --- a/cache.c | 36 | --- a/cache.c |
36 | +++ b/cache.c | 37 | +++ b/cache.c |
37 | @@ -27,6 +27,10 @@ typedef struct { | 38 | @@ -28,6 +28,10 @@ typedef struct { |
38 | 39 | ||
39 | #include <glob.h> | 40 | #include <glob.h> |
40 | 41 | ||
@@ -46,10 +47,10 @@ index e01fad0..27870ee 100644 | |||
46 | #define SYS_CPU_PREFIX "/sys/devices/system/cpu" | 47 | #define SYS_CPU_PREFIX "/sys/devices/system/cpu" |
47 | #define GLOB_PATTERN SYS_CPU_PREFIX "/cpu[0-9]*" | 48 | #define GLOB_PATTERN SYS_CPU_PREFIX "/cpu[0-9]*" |
48 | diff --git a/stress-madvise.c b/stress-madvise.c | 49 | diff --git a/stress-madvise.c b/stress-madvise.c |
49 | index 43ea454..2e1f8ee 100644 | 50 | index 9e71e11..ddf8d2d 100644 |
50 | --- a/stress-madvise.c | 51 | --- a/stress-madvise.c |
51 | +++ b/stress-madvise.c | 52 | +++ b/stress-madvise.c |
52 | @@ -141,6 +141,7 @@ static int stress_random_advise(const args_t *args) | 53 | @@ -147,6 +147,7 @@ static int stress_random_advise(const args_t *args) |
53 | #if defined(MADV_SOFT_OFFLINE) | 54 | #if defined(MADV_SOFT_OFFLINE) |
54 | if (advise == MADV_SOFT_OFFLINE) { | 55 | if (advise == MADV_SOFT_OFFLINE) { |
55 | static int soft_offline_count; | 56 | static int soft_offline_count; |
@@ -58,7 +59,7 @@ index 43ea454..2e1f8ee 100644 | |||
58 | /* ..and minimize number of soft offline pages */ | 59 | /* ..and minimize number of soft offline pages */ |
59 | if ((soft_offline_count >= NUM_SOFT_OFFLINE_MAX) || | 60 | if ((soft_offline_count >= NUM_SOFT_OFFLINE_MAX) || |
60 | diff --git a/stress-malloc.c b/stress-malloc.c | 61 | diff --git a/stress-malloc.c b/stress-malloc.c |
61 | index 8dbe5cc..f505f32 100644 | 62 | index a46b8c6..427827a 100644 |
62 | --- a/stress-malloc.c | 63 | --- a/stress-malloc.c |
63 | +++ b/stress-malloc.c | 64 | +++ b/stress-malloc.c |
64 | @@ -99,7 +99,7 @@ int stress_malloc(const args_t *args) | 65 | @@ -99,7 +99,7 @@ int stress_malloc(const args_t *args) |
@@ -71,7 +72,7 @@ index 8dbe5cc..f505f32 100644 | |||
71 | (void)mallopt(M_MMAP_THRESHOLD, (int)malloc_threshold); | 72 | (void)mallopt(M_MMAP_THRESHOLD, (int)malloc_threshold); |
72 | #endif | 73 | #endif |
73 | diff --git a/stress-pty.c b/stress-pty.c | 74 | diff --git a/stress-pty.c b/stress-pty.c |
74 | index 8c3edf8..518f118 100644 | 75 | index 1bd1fbd..b1fe573 100644 |
75 | --- a/stress-pty.c | 76 | --- a/stress-pty.c |
76 | +++ b/stress-pty.c | 77 | +++ b/stress-pty.c |
77 | @@ -26,7 +26,6 @@ | 78 | @@ -26,7 +26,6 @@ |
@@ -114,7 +115,7 @@ index 8c3edf8..518f118 100644 | |||
114 | if (ioctl(ptys[i].slave, TIOCGLCKTRMIOS, &ios) < 0) | 115 | if (ioctl(ptys[i].slave, TIOCGLCKTRMIOS, &ios) < 0) |
115 | pr_fail_err("ioctl TIOCGLCKTRMIOS on slave pty"); | 116 | pr_fail_err("ioctl TIOCGLCKTRMIOS on slave pty"); |
116 | diff --git a/stress-resources.c b/stress-resources.c | 117 | diff --git a/stress-resources.c b/stress-resources.c |
117 | index 182e176..880433d 100644 | 118 | index 958c99a..af79abd 100644 |
118 | --- a/stress-resources.c | 119 | --- a/stress-resources.c |
119 | +++ b/stress-resources.c | 120 | +++ b/stress-resources.c |
120 | @@ -31,7 +31,6 @@ | 121 | @@ -31,7 +31,6 @@ |
@@ -126,7 +127,7 @@ index 182e176..880433d 100644 | |||
126 | #endif | 127 | #endif |
127 | #if defined(HAVE_LIB_PTHREAD) && defined(__linux__) | 128 | #if defined(HAVE_LIB_PTHREAD) && defined(__linux__) |
128 | diff --git a/stress-stackmmap.c b/stress-stackmmap.c | 129 | diff --git a/stress-stackmmap.c b/stress-stackmmap.c |
129 | index e1378e2..00d1268 100644 | 130 | index 9c83a69..2984f09 100644 |
130 | --- a/stress-stackmmap.c | 131 | --- a/stress-stackmmap.c |
131 | +++ b/stress-stackmmap.c | 132 | +++ b/stress-stackmmap.c |
132 | @@ -24,7 +24,7 @@ | 133 | @@ -24,7 +24,7 @@ |
@@ -138,6 +139,3 @@ index e1378e2..00d1268 100644 | |||
138 | 139 | ||
139 | #include <ucontext.h> | 140 | #include <ucontext.h> |
140 | 141 | ||
141 | -- | ||
142 | 2.11.0 | ||
143 | |||
diff --git a/meta-oe/recipes-test/stress-ng/stress-ng/0002-stress-fcntl-fix-build-for-musl.patch b/meta-oe/recipes-test/stress-ng/stress-ng/0002-stress-fcntl-fix-build-for-musl.patch index 826340169..ed3287e32 100644 --- a/meta-oe/recipes-test/stress-ng/stress-ng/0002-stress-fcntl-fix-build-for-musl.patch +++ b/meta-oe/recipes-test/stress-ng/stress-ng/0002-stress-fcntl-fix-build-for-musl.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 7be4680930e2867cefd5c8fe27a4ae81a4ae2628 Mon Sep 17 00:00:00 2001 | 1 | From faadbc147394cea9278bc2494f33e3521d88e742 Mon Sep 17 00:00:00 2001 |
2 | From: Tim Orling <timothy.t.orling@linux.intel.com> | 2 | From: Tim Orling <timothy.t.orling@linux.intel.com> |
3 | Date: Tue, 9 Jan 2018 18:38:45 -0800 | 3 | Date: Tue, 9 Jan 2018 18:38:45 -0800 |
4 | Subject: [PATCH] stress-fcntl: fix build for musl | 4 | Subject: [PATCH] stress-fcntl: fix build for musl |
@@ -6,22 +6,20 @@ Subject: [PATCH] stress-fcntl: fix build for musl | |||
6 | Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> | 6 | Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> |
7 | 7 | ||
8 | Upstream-status: Pending | 8 | Upstream-status: Pending |
9 | |||
9 | --- | 10 | --- |
10 | stress-fcntl.c | 1 + | 11 | stress-fcntl.c | 1 + |
11 | 1 file changed, 1 insertion(+) | 12 | 1 file changed, 1 insertion(+) |
12 | 13 | ||
13 | diff --git a/stress-fcntl.c b/stress-fcntl.c | 14 | diff --git a/stress-fcntl.c b/stress-fcntl.c |
14 | index b7eade2..9fa5c38 100644 | 15 | index 2ea867b..e91b345 100644 |
15 | --- a/stress-fcntl.c | 16 | --- a/stress-fcntl.c |
16 | +++ b/stress-fcntl.c | 17 | +++ b/stress-fcntl.c |
17 | @@ -413,6 +413,7 @@ ofd_lock_abort: { /* Nowt */ } | 18 | @@ -415,6 +415,7 @@ ofd_lock_abort: { /* Nowt */ } |
18 | 19 | #if (defined(F_GET_FILE_RW_HINT) && defined(F_SET_FILE_RW_HINT)) | \ | |
19 | #if defined(F_GET_FILE_RW_HINT) && defined(F_SET_FILE_RW_HINT) | 20 | (defined(F_GET_RW_HINT) && defined(F_SET_RW_HINT)) |
20 | { | 21 | { |
21 | + int ret; | 22 | + int ret; |
22 | size_t i; | 23 | size_t i; |
23 | unsigned long hint; | 24 | unsigned long hint; |
24 | static const unsigned long hints[] = { | 25 | static const unsigned long hints[] = { |
25 | -- | ||
26 | 2.14.3 | ||
27 | |||