From: Denys Dmytriyenko <denys@ti.com>
To: Carlos Hernandez <ceh@ti.com>
Cc: meta-arago@arago-project.org, yan-liu@ti.com
Subject: Re: [PATCH 1/2] ltp-ddt: remove scheduler trace patch no longer required
Date: Fri, 3 Mar 2017 14:05:44 -0500 [thread overview]
Message-ID: <20170303190544.GI12614@edge> (raw)
In-Reply-To: <1488551149-39460-1-git-send-email-ceh@ti.com>
This will break bisect-ability - since removing the patch either before or
after the upgrade can cause breakage, the only way is to do it in the same
commit as the upgrade itself. Sure, commits have to be as granular, as
possible, but at the same time they should be atomic.
On Fri, Mar 03, 2017 at 09:25:48AM -0500, Carlos Hernandez wrote:
> Latest version of ltp fixes the problem and the patch
> 0029-trace_shed-Fix-build-with-musl.patch no longer applies.
>
> Signed-off-by: Carlos Hernandez <ceh@ti.com>
> ---
> .../0029-trace_shed-Fix-build-with-musl.patch | 32 ----------------------
> .../recipes-devtools/ltp-ddt/ltp-ddt_20160510.bb | 3 +-
> 2 files changed, 1 insertion(+), 34 deletions(-)
> delete mode 100644 meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt/0029-trace_shed-Fix-build-with-musl.patch
>
> diff --git a/meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt/0029-trace_shed-Fix-build-with-musl.patch b/meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt/0029-trace_shed-Fix-build-with-musl.patch
> deleted file mode 100644
> index f7ece9e18ef0..000000000000
> --- a/meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt/0029-trace_shed-Fix-build-with-musl.patch
> +++ /dev/null
> @@ -1,32 +0,0 @@
> -From 2f8a57f66a94210d34dd0361659a8297cf3d813f Mon Sep 17 00:00:00 2001
> -From: Khem Raj <raj.khem@gmail.com>
> -Date: Fri, 8 Jan 2016 07:29:24 +0000
> -Subject: [PATCH 29/32] trace_shed: Fix build with musl
> -
> -Errors on musl are
> -
> -trace_sched.c:425:16: error: invalid operands to binary & (have
> -'thread_sched_t * {aka struct <anonymous> *}' and 'int')
> - thrd_ndx, WEXITSTATUS(status));
> -
> -Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ----
> - testcases/kernel/sched/tool/trace_sched.c | 2 +-
> - 1 file changed, 1 insertion(+), 1 deletion(-)
> -
> -diff --git a/testcases/kernel/sched/tool/trace_sched.c b/testcases/kernel/sched/tool/trace_sched.c
> -index 7815686..30dca5f 100644
> ---- a/testcases/kernel/sched/tool/trace_sched.c
> -+++ b/testcases/kernel/sched/tool/trace_sched.c
> -@@ -422,7 +422,7 @@ int main(int argc, /* number of input parameters. */
> - if (status == (thread_sched_t *) - 1) {
> - fprintf(stderr,
> - "thread [%d] - process exited with errors %d\n",
> -- thrd_ndx, WEXITSTATUS(status));
> -+ thrd_ndx, WEXITSTATUS((int)status));
> - exit(-1);
> - } else {
> - exp_prio[thrd_ndx] = status->exp_prio;
> ---
> -2.7.0
> -
> diff --git a/meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20160510.bb b/meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20160510.bb
> index 22b962141dba..3bb17c8f8535 100644
> --- a/meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20160510.bb
> +++ b/meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt_20160510.bb
> @@ -17,8 +17,7 @@ inherit autotools-brokensep
> SRCREV = "429d12779e28e1997f656db19c5bf73edf9e9365"
> BRANCH ?= "master"
>
> -SRC_URI = "git://arago-project.org/git/projects/test-automation/ltp-ddt.git;branch=${BRANCH} \
> - file://0029-trace_shed-Fix-build-with-musl.patch"
> +SRC_URI = "git://arago-project.org/git/projects/test-automation/ltp-ddt.git;branch=${BRANCH}"
>
> S = "${WORKDIR}/git"
>
> --
> 2.7.4
>
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
prev parent reply other threads:[~2017-03-03 19:05 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-03 14:25 [PATCH 1/2] ltp-ddt: remove scheduler trace patch no longer required Carlos Hernandez
2017-03-03 14:25 ` [PATCH 2/2] ltp-ddt: update to latest version Carlos Hernandez
2017-03-03 19:03 ` Denys Dmytriyenko
2017-03-03 19:16 ` [PATCH 2/2 v2] ltp-ddt: update to latest ltp release 20170116 Carlos Hernandez
2017-03-03 19:23 ` Denys Dmytriyenko
2017-03-03 19:33 ` [PATCH v3] " Carlos Hernandez
2017-03-03 21:00 ` Denys Dmytriyenko
2017-03-03 19:05 ` Denys Dmytriyenko [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170303190544.GI12614@edge \
--to=denys@ti.com \
--cc=ceh@ti.com \
--cc=meta-arago@arago-project.org \
--cc=yan-liu@ti.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.