This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "".
The branch, master has been updated via c03685af2895b20a5e8a046ea910254a96ab15c4 (commit) from c6bf23e2794ec2a54fa1724cd9d833d84aa39270 (commit)
Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- commit c03685af2895b20a5e8a046ea910254a96ab15c4 Author: Bill Fischofer bill.fischofer@linaro.org Date: Mon Jul 4 21:31:45 2016 -0500
linux-generic: schedule: simplify wait logic to avoid clang issues
Resolve Bug https://bugs.linaro.org/show_bug.cgi?id=2387 by ensuring that t1 variable is seen as initialized in all paths in the SP Scheduler. Previous logic failed due to an apparent issue with clang.
Signed-off-by: Bill Fischofer bill.fischofer@linaro.org Reviewed-by: Petri Savolainen petri.savolainen@nokia.com Signed-off-by: Maxim Uvarov maxim.uvarov@linaro.org
diff --git a/platform/linux-generic/odp_schedule_sp.c b/platform/linux-generic/odp_schedule_sp.c index 8c45123..2e28aa4 100644 --- a/platform/linux-generic/odp_schedule_sp.c +++ b/platform/linux-generic/odp_schedule_sp.c @@ -364,9 +364,9 @@ static uint64_t schedule_wait_time(uint64_t ns) }
static int schedule_multi(odp_queue_t *from, uint64_t wait, - odp_event_t events[], int max_events) + odp_event_t events[], int max_events ODP_UNUSED) { - (void)max_events; + odp_time_t t1; int update_t1 = 1;
if (sched_local.cmd) { @@ -384,7 +384,6 @@ static int schedule_multi(odp_queue_t *from, uint64_t wait, sched_cmd_t *cmd; uint32_t qi; int num; - odp_time_t t1;
cmd = sched_cmd(NUM_PRIO);
-----------------------------------------------------------------------
Summary of changes: platform/linux-generic/odp_schedule_sp.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
hooks/post-receive