summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/mdadm/files/mdadm-fix-ptest-build-errors.patch
diff options
context:
space:
mode:
authorMingli Yu <Mingli.Yu@windriver.com>2018-11-21 23:49:49 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-11-23 23:35:18 +0000
commit55d59d3f6dfaab5de9995f7ffc1a65196aadc019 (patch)
tree6f5cfbc1366ed935e2efc9e894b1eef14c637229 /meta/recipes-extended/mdadm/files/mdadm-fix-ptest-build-errors.patch
parentc4f4c5347c7f1300f30deee11072be09f22aee3d (diff)
downloadpoky-55d59d3f6dfaab5de9995f7ffc1a65196aadc019.tar.gz
mdadm: Upgrade to 4.1
* Remove 5 backported patches * Refresh patches to remove fuzz warnings (From OE-Core rev: a455616df65f1e9dac5e283a9cda047868465d23) Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/mdadm/files/mdadm-fix-ptest-build-errors.patch')
-rw-r--r--meta/recipes-extended/mdadm/files/mdadm-fix-ptest-build-errors.patch10
1 files changed, 4 insertions, 6 deletions
diff --git a/meta/recipes-extended/mdadm/files/mdadm-fix-ptest-build-errors.patch b/meta/recipes-extended/mdadm/files/mdadm-fix-ptest-build-errors.patch
index 267c007c21..8e2a8a9043 100644
--- a/meta/recipes-extended/mdadm/files/mdadm-fix-ptest-build-errors.patch
+++ b/meta/recipes-extended/mdadm/files/mdadm-fix-ptest-build-errors.patch
@@ -1,4 +1,4 @@
1From c65898b9da82df94e1bae7937e415a7eb80355d5 Mon Sep 17 00:00:00 2001 1From 911f6ea9be0c334885aeff66853b111cbd4066df Mon Sep 17 00:00:00 2001
2From: "Maxin B. John" <maxin.john@intel.com> 2From: "Maxin B. John" <maxin.john@intel.com>
3Date: Wed, 10 Feb 2016 17:28:05 +0200 3Date: Wed, 10 Feb 2016 17:28:05 +0200
4Subject: [PATCH] mdadm-fix-ptest-build-errors 4Subject: [PATCH] mdadm-fix-ptest-build-errors
@@ -16,15 +16,16 @@ builds fail with ptest enabled:
16Upstream-Status: Pending 16Upstream-Status: Pending
17 17
18Signed-off-by: Maxin B. John <maxin.john@intel.com> 18Signed-off-by: Maxin B. John <maxin.john@intel.com>
19
19--- 20---
20 restripe.c | 6 +++++- 21 restripe.c | 6 +++++-
21 1 file changed, 5 insertions(+), 1 deletion(-) 22 1 file changed, 5 insertions(+), 1 deletion(-)
22 23
23diff --git a/restripe.c b/restripe.c 24diff --git a/restripe.c b/restripe.c
24index 56dca73..d24b2b4 100644 25index 31b07e8..592ba5d 100644
25--- a/restripe.c 26--- a/restripe.c
26+++ b/restripe.c 27+++ b/restripe.c
27@@ -842,10 +842,14 @@ int test_stripes(int *source, unsigned long long *offsets, 28@@ -864,10 +864,14 @@ int test_stripes(int *source, unsigned long long *offsets,
28 29
29 while (length > 0) { 30 while (length > 0) {
30 int disk; 31 int disk;
@@ -40,6 +41,3 @@ index 56dca73..d24b2b4 100644
40 } 41 }
41 for (i = 0 ; i < data_disks ; i++) { 42 for (i = 0 ; i < data_disks ; i++) {
42 int disk = geo_map(i, start/chunk_size, raid_disks, 43 int disk = geo_map(i, start/chunk_size, raid_disks,
43--
442.4.0
45